9 lines
No EOL
161 B
Matlab
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); |