analc_endsversion/FittingAndMath/vertical.m

9 lines
161 B
Mathematica
Raw Permalink Normal View History

2022-04-11 13:28:22 +00:00
function vertvec=vertical(vec)
%reshape input vector into row vector
if min(size(vec))>1
vertvec=[];
return
end
vertvec=reshape(vec,length(vec),1);