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

조회 수: 1 (최근 30일)
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
Ingrid
Ingrid 2015년 6월 11일
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)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by