how to code this in matlab?

回答(1 个)

Rishabh Gupta
Rishabh Gupta 2019-5-6

0 个投票

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.

此问题已关闭。

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by