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

1 view (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

Categories

Find more on Creating and Concatenating Matrices 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!