problem with this code

3 vues (au cours des 30 derniers jours)
preethi
preethi le 12 Fév 2014
Commenté : Patrik Ek le 12 Fév 2014
%%Bifurcation
LBif=(L==3);
LBifLab=bwlabel(LBif);
propBif=regionprops(LBifLab,'Centroid','Image'); CentroidBif=round(cat(1,propBif(:).Centroid)); plot(CentroidBif(:,1),CentroidBif(:,2),'go')
D=6;
Error in ==> Untitled2 at 74
plot(CentroidBif(:,1),CentroidBif(:,2),'go'
  4 commentaires
preethi
preethi le 12 Fév 2014
error in plot(CentroidBif(:,1),CentroidBif(:,2),'go')
Patrik Ek
Patrik Ek le 12 Fév 2014
But what caused the error, You need to pass the full error message, is it something like,
a = 1:10;b=2:10;
plot(a,b,'go')
Error using plot
Vectors must be the same lengths.
The error message needs to be attached.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Nonlinear Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by