LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to find all points inside the circle on a smith chart?

Solved!
Go to solution

Dear all,

I am plotting a circle on a smith chart. I have only an array of border for that circle. I am wondering if there is away to find the whole points inside that circle on a smith chart(X and Y)? Thanks in advance

 

Regards

Azam

0 Kudos
Message 1 of 6
(3,880 Views)
Solution
Accepted by topic author Al-rawachy

Points where sqrt((x-x0)^2+(y-y0)^2) < radius where x0 and y0 are the coordinates of the origin of the circle and radius is the radius.

0 Kudos
Message 2 of 6
(3,848 Views)

 

Are you making your own smith cart or are you using the Smith Plot built into LabVIEW?

 

In any case, operate on the data going to the chart. The data going into the Smith Plot is an array of clusters, and each cluster contains two elements. The first element is r, so compare that.

 

It would help if you could show us a simplified version of your code. Your description is too ambiguous.

 

0 Kudos
Message 3 of 6
(3,806 Views)

Thanks for your feedback.

 

kindly have a look for the attached vi(s). I have deleted some loops and wires which are out of scope of my question. By the way, I am using a cluster of a smith chart and you can see the circle is drawn on a smith chart and a big portion is located outside a smith chart. So. can I get only the points which are located inside the circle?  Thanks in advance

 

Regards

Azam

Download All
0 Kudos
Message 4 of 6
(3,780 Views)

Hi all,

I just want to update my query. Any advice? Thanks in advance

0 Kudos
Message 5 of 6
(3,738 Views)

Hi ,

 

Sorry, I didn't understand you when you wrote this equation.

after little time surfing the net, I understood what you have written

https://math.stackexchange.com/questions/198764/how-to-know-if-a-point-is-inside-a-circle

 

Best regards

 

0 Kudos
Message 6 of 6
(3,715 Views)