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

 Akzeptierte Antwort

madhan ravi
madhan ravi am 23 Sep. 2020
Bearbeitet: madhan ravi am 23 Sep. 2020

1 Stimme

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

Weitere Antworten (0)

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by