??? Error using ==> eq Matrix dimensions must agree
조회 수: 1 (최근 30일)
이전 댓글 표시
[row, column]=find(My_matrix== pnode); I try to use this command and i get this error
??? Error using ==> eq Matrix dimensions must agree
What should i do?How i should write the syntaxis of it?
댓글 수: 3
답변 (1개)
John D'Errico
2015년 4월 15일
편집: John D'Errico
2015년 4월 15일
Your matrices are not compatible in size. READ THE ERROR MESSAGE!
Try this:
whos MY_matrix pnode
What does it tell you?
댓글 수: 3
John D'Errico
2015년 4월 15일
I see that the last line has
find(My_matrix==node);
Even if pnode is a scalar, node may well not be so, since it was created from a previous call to find.
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Distribution Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!