column vector from another vector

5 次查看(过去 30 天)
לק"י
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 个评论
VBBV
VBBV 2023-7-23
Another way to obtain column vector is
acd3sctrdata=[acd3cd8noly{5,1:end}];
acd3sctrdata = acd3sctrdata(:) % another way

请先登录,再进行评论。

采纳的回答

Stephen23
Stephen23 2023-7-23
vertcat(acd3cd8noly{5,1:end})

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by