newton raphson optimization for the following formula
Show older comments

8 Comments
John D'Errico
on 14 Jul 2023
And what is your question about MATLAB here, except for would somone please write some code for you?
It was shown here how to build gradient and hessian of a scalar-valued function:
Taniya
on 17 Jul 2023
Taniya
on 17 Jul 2023
I want to know how the equation can write in matlab, as when i try it by writing sum it was not considered the summation.
syms k
n = 10;
x = sym ('x',[1 n])
s = sum(x.^k)
Answers (0)
Categories
Find more on Newton-Raphson Method 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!
