How I display inline function?
3 ビュー (過去 30 日間)
古いコメントを表示
Dear all,
I have this inline function (('(x-j).^2+(y-0.5).^2<0.1^2','x','y','z'), where j is variable (j= 0:0.5:1). So my function for example looks like (('(x-0.5).^2+(y-0.5).^2<0.1^2','x','y','z'). And I want to this function display in my figure (image = img_2) so it displays this fleck.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146961/image.png)
But in my for loop, there is something wrong, because there are all flecks in one figure (image = img_2) so it displays this
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146962/image.png)
Do you have any idea? I enclose my code.
Thank you very much for your answer.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Function Creation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!