How I display inline function?
1 次查看(过去 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!