9 lines
No EOL
163 B
Matlab
9 lines
No EOL
163 B
Matlab
function horzvec=horizontal(vec)
|
|
%reshape input vector into row vector
|
|
|
|
if min(size(vec))>1
|
|
horzvec=[];
|
|
return
|
|
end
|
|
|
|
horzvec=reshape(vec,1,length(vec)); |