Azzera filtri
Azzera filtri

column vector from another vector

2 visualizzazioni (ultimi 30 giorni)
Amit Ifrach
Amit Ifrach il 23 Lug 2023
Commentato: VBBV il 23 Lug 2023
לק"י
Hi
I think it is a very simple question, but i coulnd't find a quick answer to this.. I want to create column vector from another cell. I allways seem to get row vector, not a column.
the code:
acd3sctrdata=[acd3cd8noly{5,1:end}];
how can I make it a column vector easily please?
Thanks,
Amit.
  1 Commento
VBBV
VBBV il 23 Lug 2023
Another way to obtain column vector is
acd3sctrdata=[acd3cd8noly{5,1:end}];
acd3sctrdata = acd3sctrdata(:) % another way

Accedi per commentare.

Risposta accettata

Stephen23
Stephen23 il 23 Lug 2023
vertcat(acd3cd8noly{5,1:end})

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by