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 ExchangeCreating 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