Array indices must be positive integers or logical values.

 Accepted Answer

You have a symbolic variable named rref so rref(X) is a request to index the rref variable.

2 Comments

I really appreciate your anwer.
But I did not make any symbolic variable named rref. If it is generated, how do I remove it?
I solved it!
So the file is effected by other files in the folder. So I needed to get rid of rref variable there and clear workspace in home tap.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!