Array indices must be positive integers or logical values.

 채택된 답변

Walter Roberson
Walter Roberson 2023년 3월 8일

0 개 추천

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에 대해 자세히 알아보기

태그

질문:

2023년 3월 8일

댓글:

2023년 3월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by