Array indices must be positive integers or logical values.

 采纳的回答

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

2 个评论

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.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by