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 Kommentar

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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Alan Weiss
Alan Weiss am 12 Apr. 2016

0 Stimmen

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 Kommentar

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?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by