Subscript indices must either be real positive integers or logicals

2 views (last 30 days)
I have a strange problem with MATLAB. I wrote a algorithm and finally gave the epsss values answer as shown in the picture below. But when I try to get Max from it, it gives an error!!!!!

Accepted Answer

Stephen23
Stephen23 on 3 Jan 2023
You have created a variable in the workspace named MAX.
You need to CLEAR that variable from the workspace, then try again.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!