필터 지우기
필터 지우기

Using fzero

조회 수: 3 (최근 30일)
Jeanette
Jeanette 2011년 5월 25일
I keep getting this error when trying to use fzero :
Error using ==> fzero at 181 FUN must be a function, a valid string expression, or an inline function object.
Error in ==> SensorModelRev1 at 119 x=fzero(OptimizeDiff(PfrPfdGuess,Pfr),PfdGuess);
I have defined OptimizeDiff as a function; what I've tried already: -have made it an inline function object; -have defined a symbol for the inline function object;
Not sure what else to do?
  댓글 수: 1
Sean de Wolski
Sean de Wolski 2011년 5월 25일
Good job reporting the error message in full, now show us the code!!

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

채택된 답변

Sean de Wolski
Sean de Wolski 2011년 5월 25일
doc function_handle
instead of inline.

추가 답변 (0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by