Info

This question is closed. Reopen it to edit or answer.

how to code this in matlab?

1 view (last 30 days)
Rishabh Chaudhary
Rishabh Chaudhary on 27 Apr 2019
Closed: MATLAB Answer Bot on 20 Aug 2021

Answers (1)

Rishabh Gupta
Rishabh Gupta on 6 May 2019
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!