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
t = (1:10).'
%Or
t(:) % from your example

更多回答(0 个)

类别

Community Treasure Hunt

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

Start Hunting!

Translated by