Info

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

fminsearch. How does the first variable works?

1 view (last 30 days)
Douglas Alves
Douglas Alves on 30 Jun 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
[IC,SurfaceValues,exitFlag]=fminsearch(@integratePlanetODEs,IC,[],extPar);
This is a line of a code and IC could supposedly vary from -inf to +inf but I changed the scale so it varies from 0 to 1. I'm the one who choose the first value for IC and then the program will vary IC so the min value will be searched. But IC vary just a little bit. Example IC = 0.5 and then its variation is only 0.49999 to 0.56999 that's so small. I need IC to vary more because I have a value attached to IC. So whenever IC vary this other value varies too so I have different outcomes and it's supposed to get the smallest one. So how does IC vary? that's my question. what are the rules that rules its variation?
Thank you all

Answers (0)

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!