I need to use 'fminsearch' to optimize a parameter in determining critical damage Index. Kindly see Description for more

1 visualizzazione (ultimi 30 giorni)
I have an Earthquake signal, decomposed into different frequency bands. For each band, there is a parameter that is a number which I need to optimize to minimise another value called Damage index which is a consequence of this Signal, and the parameter (when passed through a function). Damage Index isn't technically a function, as it has no dependent variables, its just a number as well, but becomes my Objective function.
Any suggestions?
  1 Commento
Ingrid
Ingrid il 11 Giu 2015
your damage index is not just a number, you use some kind of function to calculate it so you can use this function in fminsearch
paramOptimize = fminsearch(@(x) functionCalculationDamageIndex(x),x0)
and then below define your calculation function
function damageIndex = functionCalculationDamageIndex(x)
% do your calculations here (calculate damage index based on the signal generated for the parameter x)

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by