The end operator must be used within an array index expression
Show older comments
How to fix this error:
The end operator must be used within an array index expression.
Error in .... (line 17)
shot = shot(101:end,1);
7 Comments
Nisar Ahmed
on 15 Sep 2020
KSSV
on 15 Sep 2020
What is Shot? It is an array?
Nisar Ahmed
on 15 Sep 2020
KSSV
on 15 Sep 2020
That case it should not throw error. We cannot help unless complete code is shown.
Nisar Ahmed
on 15 Sep 2020
KSSV
on 15 Sep 2020
What is size of Vp.rss? Is it taking matrix inside the function?
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing 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!