I usually define a row matrix as below:
t=1:1:10
How can I define a column matrix in this way.
Thanks

 채택된 답변

madhan ravi
madhan ravi 2020년 9월 23일
편집: madhan ravi 2020년 9월 23일

1 개 추천

t = (1:10).'
%Or
t(:) % from your example

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2020년 9월 23일

편집:

2020년 9월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by