??? Error using ==> eq Matrix dimensions must agree
2 ビュー (過去 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!