a1,a2,a3,a4 are allowed values between 0 and pi.
Now what I want to do is find the values of a1, a2, a3 and a4 such that the derivative of f(x) best approximate another function g(x) for a certain range of values of x.
f'(x)=> g(x) when b<x<c
What kind of algorithm and how do I use it to find a1, a2, a3, and a4 to best fit my solution? I read the matlab help but it reads like a foreign language to me.
Thanks!!!
Hi,oin
You can either use a local nonlinear optimization solver like fmincon to solve your problem if it is convex, or a global optimization solver like GAtoolbox for Matlab to find a global solution.
Cheers,
V. Morio
PhD student in Automatic Control
IMS lab./University of Bordeaux, France
I understand that Matlab's optimization toolbox has some algorithms that I could use as well as the GAtoolbox which is freeware, what I don't understand is how to use the toolbox to solve my problem.
My questions are quite basic:
i.e.
- which algorithm should I use?
- What are the parameters of the algorithm?
- As I increase the number of variables to a10 for example, is a GA the only way to go? What would be faster?
The matlab help is not very user friendly for first timers,
Thanks!
"Vincent Morio" <vincen...@mathworks.com> wrote in message <gc8u9t$k5f$1...@fred.mathworks.com>...