How can i sweep over a variable that belongs to a structure
1 view (last 30 days)
Show older comments
i have a variable in a structure in matlab e.g. EQ.FFE
FFE is the number i need to sweep like FFE=1:2:21.
I need to create a "for" loop in the code for that. How can i do it? it seem that syntax
"for FFE=1:7" or "for EQ.FFE=1:7" do not work
0 Comments
Answers (1)
See Also
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!