03-31-2009 03:48 PM
Hi all!
I received some signals from device. Also I've had a known standard signal. My problem is: how can I choose one (of the receiceved signals), which compares with standard signal with the smallest error?
In the picture attached here, yellow graph in bold is reference (standard). How to make a decision: which one of remaining graphs is closest to the reference graph?
Thank for your any helps!
Mc
Solved! Go to Solution.
03-31-2009 04:40 PM
Mc:
Your graphs did not attach.
-AK2DM
03-31-2009 11:45 PM
04-01-2009 04:14 PM
Hello Mc,
Can you give more detail on what you're attempting to do? Are you wanting to programmatically choose the plot that is closest to the reference? If that is the case, you have quite a few options on Functions Palette, including an Express VI that does polynomial fitting. Please let me know if you need further assistance.
Thanks!
Meghan
Applications Engineer
National Instruments
04-02-2009 01:17 AM
Hello Megha,
Yes, I'm wanting to programmatically choose the plot that is closest to the reference? Out put of the task is this plot. But I haven't found polynomial VI, which can solve this problem.
Thanks!
Mc
04-02-2009 02:03 AM - edited 04-02-2009 02:05 AM
First you have to define you best match. (closest fit, same force at a specific point, same decreasing rate of force .... ??)
Your signals look quite simple, so a MSE calculation might workout best.
Even more simple is the sum of abs difference
04-02-2009 03:14 AM
Hello Henrik!
Thank for your advice, but your program could not run on my Labview 7.1. How should I do now?
04-02-2009 08:22 AM
That's why I post the picture , I don't have 7.1 (any more) , this answer took longer to write than to code this thing new 😉
the mse.vi is located in the mathematics- statistic section
the rest is at numeric, array and waveform
PS: the help section and the search functions are the tools to look at
Kudos welcome
04-02-2009 01:11 PM
Many thanks for all. I have solved problem.
Mc