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

 Réponse acceptée

madhan ravi
madhan ravi le 23 Sep 2020
Modifié(e) : madhan ravi le 23 Sep 2020

1 vote

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

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by