How I display inline function?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Function Creation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!