column vector from another vector

5 views (last 30 days)
Amit Ifrach
Amit Ifrach on 23 Jul 2023
Commented: VBBV on 23 Jul 2023
לק"י
Hi
I think it is a very simple question, but i coulnd't find a quick answer to this.. I want to create column vector from another cell. I allways seem to get row vector, not a column.
the code:
acd3sctrdata=[acd3cd8noly{5,1:end}];
how can I make it a column vector easily please?
Thanks,
Amit.
  1 Comment
VBBV
VBBV on 23 Jul 2023
Another way to obtain column vector is
acd3sctrdata=[acd3cd8noly{5,1:end}];
acd3sctrdata = acd3sctrdata(:) % another way

Sign in to comment.

Accepted Answer

Stephen23
Stephen23 on 23 Jul 2023
vertcat(acd3cd8noly{5,1:end})

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!