Define a column series

11 visualizzazioni (ultimi 30 giorni)
Amir Ehsani
Amir Ehsani il 23 Set 2020
Modificato: madhan ravi il 23 Set 2020
I usually define a row matrix as below:
t=1:1:10
How can I define a column matrix in this way.
Thanks

Risposta accettata

madhan ravi
madhan ravi il 23 Set 2020
Modificato: madhan ravi il 23 Set 2020
t = (1:10).'
%Or
t(:) % from your example

Più risposte (0)

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by