MATLAB Answers

Plot struct-data in loop

3 views (last 30 days)
Rica
Rica on 20 Jul 2017
Commented: Rica on 1 Aug 2017
Hi, i have struct data: data_1, data_2.....data_100 iwant to make the following plot in a loop:
for k=1:100
plot(data_k.a,data_k.b)
end
how could i do this in matlab?
  6 Comments
Rica
Rica on 1 Aug 2017
Thank You

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!