Optimization Problem for 4 variable function

9 views (last 30 days)
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 Comment
Ali Ghalavand
Ali Ghalavand on 8 May 2021
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.

Sign in to comment.

Answers (1)

Alan Weiss
Alan Weiss on 12 Apr 2016
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 Comment
Muhammad Umar Farooq
Muhammad Umar Farooq on 13 Apr 2016
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?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!