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 个评论

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.

请先登录,再进行评论。

回答(1 个)

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 个评论

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?

请先登录,再进行评论。

类别

Community Treasure Hunt

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

Start Hunting!

Translated by