analc_endsversion/FittingAndMath/horizontal.m

9 lines
163 B
Mathematica
Raw Normal View History

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