Error: Array indices must be positive integers or logical values. Why??

14 views (last 30 days)
Not sure why I am getting this error message,
any help would be amazing!!

Answers (1)

Sindar
Sindar on 12 Feb 2020
you need a '*' between 'z' and the parenthesis. It is interpreting z(...) as indexing z

Community Treasure Hunt

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

Start Hunting!