how to code this in matlab?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Answers (1)
Rishabh Gupta
on 6 May 2019
0 votes
Hi Rishabh,
To start with, g(x), h(x), f(x) should be made as functions in MATLAB.
Use for loop to implement the summation.
Look at the following documentation to see how to find a minima of a function.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!