10-23-2010 09:19 AM
I fitted some data with a function y(x). Finding the inverse of the function isn't easy, so I thought it may be fine to to "search" for the value of "x" with an iterative approach.
In essence I do this:
1. State the known 'y' value.
2. Guess randomly at an 'x' in a specific range -- call it 'xp'.
3. Is y(xp)>y_known? If so.....
The method is pretty well known. The idea is to narrow the range until the error is small enough.
For some reason the error in this program never converges.
Any ideas would be really helpful!
Also, if someone has a better way of expression a function, please let me know.
Thanks!
10-23-2010 12:00 PM
hello
yes a commun method is dichotomie see example in attachement
tour are welcom if more details needed
Best Regards
Tinnitus
10-23-2010 01:07 PM
I'm having some trouble running your file.
I just found, however, that a Threshold 1-D array essentially does this all by itself. Is that true or am I missing something?
10-23-2010 01:27 PM
wich lv have you 8,8.5,9 10
i did'nt check stored file and it doesn't look like i save itcause of down convert
10-23-2010 01:36 PM
second release