??? Error using ==> eq Matrix dimensions must agree
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
[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 Kommentare
Antworten (1)
John D'Errico
am 15 Apr. 2015
Bearbeitet: John D'Errico
am 15 Apr. 2015
Your matrices are not compatible in size. READ THE ERROR MESSAGE!
Try this:
whos MY_matrix pnode
What does it tell you?
3 Kommentare
John D'Errico
am 15 Apr. 2015
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.
Siehe auch
Kategorien
Mehr zu Data Distribution Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!