How I display inline function?

2 views (last 30 days)
Veronika
Veronika on 28 Jan 2015
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.
But in my for loop, there is something wrong, because there are all flecks in one figure (image = img_2) so it displays this
Do you have any idea? I enclose my code.
Thank you very much for your answer.

Answers (0)

Categories

Find more on Function Creation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!