Error: Array indices must be positive integers or logical values. Why??
Show older comments
Not sure why I am getting this error message,
any help would be amazing!!
Answers (1)
Sindar
on 12 Feb 2020
1 vote
you need a '*' between 'z' and the parenthesis. It is interpreting z(...) as indexing z
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!