problem with this code

조회 수: 7 (최근 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