Attempt to grow array along ambiguous dimension.
이전 댓글 표시
Hi,
I tried to get countour coordinates like this:
[x,y]=find(FC(:)>thresh);
[x1,y1]=find(FC(:)<thresh);
[x3,y3]=find( contour([x,y]))
[x4,y4]= find(contour([x1,y1]))
afeter that
S1=zeros(size(I));
S1([y3,x3])=2;%pet
S1([y4,x4])=1;
it gives as error Attempt to grow array along ambiguous dimension. in S1([y3,x3])=2;%pet
Thanks
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Valentines Day에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!