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

 Accepted Answer

madhan ravi
madhan ravi on 23 Sep 2020
Edited: madhan ravi on 23 Sep 2020
t = (1:10).'
%Or
t(:) % from your example

More Answers (0)

Categories

Asked:

on 23 Sep 2020

Edited:

on 23 Sep 2020

Community Treasure Hunt

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

Start Hunting!