what kind function of this?

Xcp = fminsearch(@(x,pexp) fconst(x,Pexp),[1])
I have previously:
Pexp =[3 4 6 7 8 9 2 3 ]

 채택된 답변

the cyclist
the cyclist 2013년 4월 11일

0 개 추천

fminsearch() is a MATLAB function that find a local minimum of the input function.
I don't recognize fconst(), and your code gives me an error because MATLAB can't find it. Is that a function you wrote?

댓글 수: 3

uncung fgv
uncung fgv 2013년 4월 11일
편집: uncung fgv 2013년 4월 11일
thx.
we have:
function y=fnconst(x,pexp);
and what is :
@
[1]?
Walter Roberson
Walter Roberson 2013년 4월 11일
@ indicates an anonymous function.
uncung fgv
uncung fgv 2013년 4월 11일
thx

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Function Creation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by