change name in for loop

3 views (last 30 days)
rr88
rr88 on 25 Feb 2016
Edited: Stephen23 on 19 Jun 2019
for k=kk(1):kk(end)
ricampionocan2(:,i)=cat(2,ricampiono{1,i}(:,2));
ricampionocan3(:,i)=cat(2,ricampiono{1,i}(:,3));
ricampionocan4(:,i)=cat(2,ricampiono{1,i}(:,4));
end
I have this for loop (k) inside another for loop (i). I must break the cell structure and change name at ricampionocan pairing it with k. I would like it to become ricampionocan (k function).
can you help me?
  3 Comments
rr88
rr88 on 25 Feb 2016
i have a table with names i want include in ricampionocan. but i don't now how
rr88
rr88 on 25 Feb 2016

grazie mille!!!

Sign in to comment.

Answers (1)

Stephen23
Stephen23 on 25 Feb 2016
Edited: Stephen23 on 19 Jun 2019
  1 Comment
rr88
rr88 on 25 Feb 2016
Edited: rr88 on 25 Feb 2016
i have a table with names i want include in ricampionocan. but i don't now how. I have only four values of k.

Sign in to comment.

Categories

Find more on Creating and Concatenating Matrices 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!