Hi there,(adsbygoogle = window.adsbygoogle || []).push({});

I am getting confused trying to use fminsearch. I have looked at the help on Matlab but can't seem to understand how to get it to work.

I would like to find the minimum chi squared values of two parameters H and omega. I have written a function that will find the min chi squared value of H keeping omega constant, and thought that I could put this into a loop for varying values of omega, so find best H value for each value of omega. Could I use fminsearch instead to find the best fit of both values at once?

I am confused about what I need to do and any help would be greatly appreciated.

Many thanks

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Fminsearch- Matlab help

Loading...

Similar Threads - Fminsearch Matlab help | Date |
---|---|

How to program this in Matlab | Feb 28, 2018 |

Matlab Making a short test for self-adjointness | Feb 23, 2018 |

Need some help using fminsearch in matlab | Jul 6, 2009 |

MATLAB fminsearch | Dec 22, 2008 |

**Physics Forums - The Fusion of Science and Community**