Completed

Matlab optimisation - very simple

I'm a matlab novice and I need help in setting up an optimisation problem.

I've got 3 Matlab files

- DataArray.m Generates data in a struct array called 'Data'

- CalcSpread.m calculates a single value based on 2 input variables, 'Data' and a scalar, 'd'

- Script.m which just calls the DataArray function and then runs a for loop calling CalcSpread with different values for the parameter 'd' It plots a graph showing d has a minimum.

I want to 'd' that corresponds to the value where the value coming from CalcSpread is a minimum. I want to do this optimisation by modifying ONLY Script.m

Essentially, this is part of a bigger problem but I've simplified it to post here. I don't understand the syntax of how to do this in Matlab.

Skills: Algorithm, Mathematics, Matlab and Mathematica

See more: constrained optimization matlab, parametric optimization matlab, multi parameter optimization matlab, fminsearch matlab, matlab optimization, multivariable optimization matlab, matlab convex optimization, matlab optimization functions, electrical engineering, mathematics, algorithm

About the Employer:
( 3 reviews ) Morpeth, United Kingdom

Project ID: #17478311

Awarded to:

klsjd

Hey, I was I matlab instructor and I have build many projects with it. I don't understand clearly what you want , do you want the minimum value for 'd' ? I want to know what you specifically want and I will do it More

£15 GBP in 0 days
(1 Review)
0.6
TheAnsari97

I'm an Electrical Engineer with good matlab programming skills. I had completed many projects on MATLAB in field of Signal Processing, Image Processing, Steganography and Modulation Schemes. I had found the answer More

£11 GBP in 1 day
(4 Reviews)
1.8

7 freelancers are bidding on average £17 for this job

£18 GBP in 1 day
(28 Reviews)
5.0
£18 GBP in 1 day
(23 Reviews)
4.3
£19 GBP in 1 day
(5 Reviews)
3.5
£23 GBP in 1 day
(3 Reviews)
3.8
£18 GBP in 1 day
(0 Reviews)
0.0