analc_endsversion/FittingAndMath/vertical.m
2022-04-11 15:28:22 +02:00

9 lines
No EOL
161 B
Matlab

function vertvec=vertical(vec)
%reshape input vector into row vector
if min(size(vec))>1
vertvec=[];
return
end
vertvec=reshape(vec,length(vec),1);