エラーの原因と解決方法を教えてください
显示 更早的评论
'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!