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

1 view (last 30 days)
for jj=180:180:3000
v=c(:,jj)
end

Accepted Answer

dpb
dpb on 1 Oct 2014
v=c(:,[180:180:3000])
  2 Comments
Fatin
Fatin on 1 Oct 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

Sign in to comment.

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!