Optimization Problem for 4 variable function

Greetings,
I have a mathematical problem of a curve who's curvature equation is p(s) = a*s1 + b*s2 I need to find the optimized values of a, b, s1 and s2 while I know the starting and end point of curve. Does anyone know how can I do that using optimization. Thank you.

1 commentaire

I have the same problem now, I want to optimize a 4 variable function but the variables value dont converge.
can you got the right answer for your problem? and help me.

Connectez-vous pour commenter.

Réponses (1)

Alan Weiss
Alan Weiss le 12 Avr 2016

0 votes

The documentation has some suggestions. And, if you have an Optimization Toolbox™ license, you can use other solvers, too.
Alan Weiss
MATLAB mathematical toolbox documentation

1 commentaire

Yes But I am trying to find out the values of s1, s2, a and b. I tried using GA and fminunc but I am not getting any feasible results. I am quite new to Matlab so can you please tell me which one should be better in this case?

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by