LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Curve fitting

Solved!
Go to solution

Hello everyone,

 

Does anyone has any idea about fitting a curve based on Error Function? I can fit my data in Matlab based on erf but I could not find any command in LabVIEW for this kind of fitting.

I guess I should use "Mathscript RT Module" but if anyone has an idea to solve it without Mathscript, it would be much appreciated.

0 Kudos
Message 1 of 9
(3,226 Views)

http://www.ni.com/white-paper/6954/en

 

This seems to have a lot of information, is this what you are looking for?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 9
(3,217 Views)
Solution
Accepted by topic author Saridar

An error function VI is in the Mathematics palette, so you should be able to build a model VI which can be used with the Lev-Mar fitting VI.

 

Lynn

Message 3 of 9
(3,215 Views)

And how exactly would you do that? Seems very complicated, any help you can offer, please advise.


Regards,

0 Kudos
Message 4 of 9
(2,853 Views)

This thread is three years old and has been marked as solved. 

 

You will probably get better help if you start a new thread. Mention that you have read this one. Then be as specific as possible about what you are trying to do, what you have attempted, what errors you get, where your data comes from adn so on. The more information you provide and the more specific your questions, the better the answers you will get.

 

Lynn

0 Kudos
Message 5 of 9
(2,823 Views)

@locktofer wrote:

And how exactly would you do that? Seems very complicated, any help you can offer, please advise.


Sometimes searching the forum before posting is easiest. 🙂

You might have found this solution. Try it!

 

0 Kudos
Message 6 of 9
(2,783 Views)

Thank you both for your responses. However, this is not quite what I am trying to do.

 

I am trying to curve fit the waterfall curve for the bit error ratio of digital signals. I have a bunch of data that I know approximately follows the complimentary error function, I need to fit it to this function. How do I do it. Altebach, the function that you use here in your example doesnt look anything like the waterfall curve, so I am not sure that I can use that. The previous person wants me to start a new thread, maybe I will do that as well.

Thanks

0 Kudos
Message 7 of 9
(2,754 Views)

The method is independent of the model function. If you have a mathematical model with a few fittable paramters that describes your data,  you can use the method. All you need to do is change the model accordingly.

 

If you want more detailed help, attach your data and a link to a web page describing the theory. How many dimensions do you have for the independent variable? 

0 Kudos
Message 8 of 9
(2,746 Views)

Ok, again thanks for the reply. I will give it a try with some actual data and let you know how it worked. Thanks again for your time in looking at this.


Best regards,

0 Kudos
Message 9 of 9
(2,742 Views)