problem with this code

4 次查看(过去 30 天)
preethi
preethi 2014-2-12
评论: Patrik Ek 2014-2-12
%%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 个评论
preethi
preethi 2014-2-12
error in plot(CentroidBif(:,1),CentroidBif(:,2),'go')
Patrik Ek
Patrik Ek 2014-2-12
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Nonlinear Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by