how to code this in matlab?

Risposte (1)

Rishabh Gupta
Rishabh Gupta il 6 Mag 2019

0 voti

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.

Questa domanda è chiusa.

Richiesto:

il 27 Apr 2019

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by