Index exceeds - for loop
Show older comments
Hi, where is the Problem ("index exceeds matrix dimensions")?
With the "for loop" I want to calculate from Line 1 to Line 20
And the Calculation is from value 1 to value 100 each line.
What can I do, to fix the problem?
Many Thanks!!!

2 Comments
Sai Bhargav Avula
on 30 Oct 2019
Can you provide the size of val.
Accepted Answer
More Answers (1)
ReHa
on 30 Oct 2019
0 votes
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!