newton raphson optimization for the following formula

8 commentaires

And what is your question about MATLAB here, except for would somone please write some code for you?
Torsten
Torsten le 14 Juil 2023
Modifié(e) : Torsten le 14 Juil 2023
It was shown here how to build gradient and hessian of a scalar-valued function:
@Taniya is not a person like that. In her past questions, there were codes supplied.
@John D'Errico 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.
@Sam Chak yes it was, and i am a researcher, some time got stuck in such a situation that may be full question pictured wrongly. thank you.
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])
x = 
s = sum(x.^k)
s = 
Are you trying to deal to the equation symbolically?
Or, are you trying to numerically compute the values of and its derivative using the for-loop method?
Taniya
Taniya le 17 Juil 2023
Modifié(e) : Taniya le 17 Juil 2023
@Sam Chak, x is the value of observation, where n is the length of data, need to find out k by newton raphson method. but i could not programe it

Connectez-vous pour commenter.

Réponses (0)

Question posée :

le 14 Juil 2023

Modifié(e) :

le 17 Juil 2023

Community Treasure Hunt

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

Start Hunting!

Translated by