取消
显示结果 
搜索替代 
您的意思是: 

How to calculate slope of XY curve?

已解决!
转到解答

Hi all,

 

I want to calculate the slope of a X-Y curve, for example, amplitude v.s. position. I was trying to use the derivative method but failed. Could anyone help me with this problem? The example vi. is attached.

 

 

 

Regards,

Nicky.

1 条消息(共 10 条)
15,670 次查看
解答
接受人 Nicky87

Like this

Tim
GHSP
2 条消息(共 10 条)
15,664 次查看

Dang it, too slow...

 

Try the Linear Fit VI

3 条消息(共 10 条)
15,662 次查看

Although it involves a Rube method as compared to Linear Fit, the attached vi teaches what a slope really is.

 

- tbob

Inventor of the WORM Global
4 条消息(共 10 条)
15,594 次查看

Can you post the same solved example with labview 8.2?

0 项奖励
5 条消息(共 10 条)
15,271 次查看

Here is an 8.0 version.

Tim
GHSP
0 项奖励
6 条消息(共 10 条)
15,254 次查看

Hey

Attached is the Vi.

Could you please help me if I want to find the slope and I want to stop the loop and measurement when the maximum slope has been attained.

Help will be very much appreciated.

 

 

0 项奖励
7 条消息(共 10 条)
15,226 次查看

How are you defining "maximum slope".  Is it a simple threadhold (stop when slope >= a set value) or are you looking for the inflection point (calculating on the fly the maximum slope and stopping when it is reached)?  The threshold is a simple comparison.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 项奖励
8 条消息(共 10 条)
15,221 次查看

No it is infection point, as in after getting the measurement value , finding the slope and stopping when the slope is highest as in it has maximum deviation from the previous value.

0 项奖励
9 条消息(共 10 条)
15,219 次查看

You should be having a Max limit value so that you can compare on the fly and stop if the max slope is achieved. Check the attached example and also keep it in a single thread

 

Slope max.png

 

Good luck 

 

-----

The best solution is the one you find it by yourself
0 项奖励
10 条消息(共 10 条)
15,193 次查看