Running the Matlab code below two discrete regions appear; one in left and the other in right.(adsbygoogle = window.adsbygoogle || []).push({}); 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 (Text):

x=20:5:800;

xpr=x*pi/180;

y=sin(xpr);

n=find(y<.2);

plot(x(n),y(n),'*')

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Connecting the point selectively

Loading...

Similar Threads for Connecting point selectively |
---|

Inductance in FEMM 4.2, series/parallel connection of coils |

MATLAB Weighting data points with fitted curve in Matlab |

**Physics Forums | Science Articles, Homework Help, Discussion**