- How GlobalSearch and MultiStart Work - MATLAB & Simulink (mathworks.com)
- Find multiple local minima - MATLAB (mathworks.com)
- Using MultiStart for Optimization Problems - Video - MATLAB (mathworks.com)

# Matlab Code Assistance for Multistart or GA

2 views (last 30 days)

Show older comments

I want to apply MultiStart global optimization technique for curve fitting and parameter estimation from data set and system of ordinary differential equation. I am new for that concept. I have Number of infected cases for time serious data and want to fit with my model. I am wondering if you could assist me how to estimate using that technique? I will be very happy if you send me any prototype matlabcode!

Any help is appreciated!

##### 0 Comments

### Answers (2)

Nihal Reddy
on 13 Apr 2023

I understand you require resources and reference examples for implementing MultiStart optimization technique in MATLAB.

Please refer to the following MATLAB documentation for more information and examples-

Hope this helps!

Alan Weiss
on 14 Apr 2023

Perhaps more relevant documentation is here:

Good luck,

Alan Weiss

MATLAB mathematical toolbox documentation

##### 11 Comments

Alan Weiss
on 20 Apr 2023

OK, I clearly misunderstood what are the parameters to vary in your problem. And I am not sure that I understood correctly what you are trying to match, meaning which data are you trying to fit and which output of the ODE you want to match.

Once more I ask you to perform the following.

- Give a function F(x) that is the ODE solver, taking your parameters x to a solution y(t). Obviously, I am not sure what that function is in the code that you gave me.
- After that we can try to identify the data that you want F(x) to fit. We will call an optimizer and minimize the sum of squares of some parts of y(t) minus some data d(t).

So I am asking you to give F(x). Not to optimize it, just give clear, unambiguous, working code that takes an input set of parameters x and returns an ODE solution y(t).

Alan Weiss

MATLAB mathematical toolbox documentation

### See Also

### Categories

### Community Treasure Hunt

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

Start Hunting!