Numerical Optimization: Write a numerical objective function
Show older comments
I have to minimize a numerical objective function of the form:
min Σ(x(i+1)-x(i))^2, i=1..10 and x(i) are the variables to be optimized
I tried using the symssum but doesn't give any results and I have not found anything else in the documentation. Does anyone have any idea how to write this? Thanks in advance.
Accepted Answer
More Answers (0)
Categories
Find more on Choose a Solver in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!