problem with this code

%%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 件のコメント

Walter Roberson
Walter Roberson 2014 年 2 月 12 日
Reformatted for you. I had to guess at the line breaks in some places.
Walter Roberson
Walter Roberson 2014 年 2 月 12 日
What is the actual error? Something like index 2 is out of range?
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 件)

カテゴリ

ヘルプ センター および File ExchangeNonlinear Analysis についてさらに検索

質問済み:

2014 年 2 月 12 日

コメント済み:

2014 年 2 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by