- #1
hokhani
- 483
- 8
Running the Matlab code below two discrete regions appear; one in left and the other in right.
I would like to connect the points of each region together and not to connect the rightmost point of the left region to the leftmost point of the right region so that the two regions remain separated. What should I do? I appreciate any help.
Code:
x=20:5:800;
xpr=x*pi/180;
y=sin(xpr);
n=find(y<.2);
plot(x(n),y(n),'*')