Info

This question is closed. Reopen it to edit or answer.

i have a lot of points and i want to define under this conditional

1 view (last 30 days)
hi
i have a lot of points and i want to define under this conditional
cond_1 = x > 0 & x <= 60 & y <= 60;
cond_2 = x > 60 & x <= 100 & y<=60 & y <= sqrt((r.^2)-((x-x0).^2))+y0 ;
cond_3 = x > 100 & x <= 160 & y <= 60;
when i write that , this doesnt work.
please help
  3 Comments
Mili Kian
Mili Kian on 22 Nov 2020
y <= sqrt((r.^2)-((x-x0).^2))+y0
this part doesnt work . the whole points are given.
my code is too long. sorry i cant send it

Answers (0)

Community Treasure Hunt

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

Start Hunting!