Borrar filtros
Borrar filtros

column vector from another vector

2 visualizaciones (últimos 30 días)
Amit Ifrach
Amit Ifrach el 23 de Jul. de 2023
Comentada: VBBV el 23 de Jul. de 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 comentario
VBBV
VBBV el 23 de Jul. de 2023
Another way to obtain column vector is
acd3sctrdata=[acd3cd8noly{5,1:end}];
acd3sctrdata = acd3sctrdata(:) % another way

Iniciar sesión para comentar.

Respuesta aceptada

Stephen23
Stephen23 el 23 de Jul. de 2023
vertcat(acd3cd8noly{5,1:end})

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by