column vector from another vector

조회 수: 3 (최근 30일)
Amit Ifrach
Amit Ifrach 2023년 7월 23일
댓글: VBBV 2023년 7월 23일
לק"י
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