Borrar filtros
Borrar filtros

I have a for loop that give me as a result 16 vectors (v) and each vector is of size 15x1 , how can I save all those vectors in a matrix of site 15x16

2 visualizaciones (últimos 30 días)
for jj=180:180:3000
v=c(:,jj)
end

Respuesta aceptada

dpb
dpb el 1 de Oct. de 2014
v=c(:,[180:180:3000])
  2 comentarios
Fatin
Fatin el 1 de Oct. de 2014
Thank you sooo much for your answer , it works with me . I found that I don't even need that loop , I need just to read specific values from my previous loop . Thanks again
dpb
dpb el 1 de Oct. de 2014
...I don't even need that loop...
Ayup...ain't Matlab wunnerful??? :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by