Define a column series

3 views (last 30 days)
Amir Ehsani
Amir Ehsani on 23 Sep 2020
Edited: madhan ravi on 23 Sep 2020
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

Find more on Multidimensional Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!