エラーの原因と解決方法を教えてください
이전 댓글 표시
'matlab.graphics.chart.primitive.Surface' タイプのオペランドに対して、演算子 ':' はサポートされていません。
上のようなエラーが出てしまいます。
エラー箇所は下の矢印のところです。
right(isnan(right))=0
s=surf(right)
zlim([inR axR])
% view([-30.6 57.0])
s.EdgeColor = 'none';
for n=1:s(1) ←
for m=1:s(2)
if Data(n,m,face(n,m))==0
Data(n,m,face(n,m))=1;
end
end
end
よろしくおねがいします。

채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 データ型の識別에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!