what is the error here? It is showing "Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters."
조회 수: 2 (최근 30일)
이전 댓글 표시
ea=(abs(A(ma_i,ma_j)-
A_old(ma_i,ma_j))/abs(A(ma_i,ma_j)))*100;
댓글 수: 0
답변 (1개)
Cris LaPierre
2021년 5월 15일
You have split your equation over two lines without telling MATLAB. You must add an ellipsis at the end of the first line to indicate the two lines are to be read together.
ea=(abs(A(ma_i,ma_j)- ...
A_old(ma_i,ma_j))/abs(A(ma_i,ma_j)))*100;
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Dynamic System Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!