LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tangent lines in XY graph

Hello,

I have attached a picture in which i have to find the cutt frequency, the Y axis is the amplitude and X-axis is the frequency.

The red lines in the picture is the tangent lines, how would i make it visible in the graph and find the intersection point of both of it to calculate the cutt off frequency?

 

Thank you have and stay healthy.

 

 

Download All
0 Kudos
Message 1 of 6
(2,155 Views)

Hi Pukhtun,

 


@Pukhtun_Yum wrote:

The red lines in the picture is the tangent lines, how would i make it visible in the graph and find the intersection point of both of it to calculate the cutt off frequency?


This is rather basic math knowledge!

Determine slope/intersection of both tangent vectors. (You may use some interpolation function on a subset of your plot point data.)

Then calculate their crossing point. (You may use some of those mathematics functions…)

 

What have you tried so far? Where are you stuck?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,150 Views)

I tried it but could not find the correct VIs to implement the method.

How can i take two lines from a single graph ?

It seems to be quiet confusing for me

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

Hi Pukhtun,

 


@Pukhtun_Yum wrote:

How can i take two lines from a single graph ?


I repeat: "use some interpolation function on a subset of your plot point data"

 

See this:

As you use a logarithmic X axis it might help to apply a log() function on the X data before interpolation…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 6
(2,126 Views)

Maybe you can find a mathematical model that describes your curve and fit to it after which you can determine  the interesting parameter.

0 Kudos
Message 5 of 6
(2,098 Views)

@GerdW wrote:

See this:

As you use a logarithmic X axis it might help to apply a log() function on the X data before interpolation…


nice!

0 Kudos
Message 6 of 6
(2,083 Views)