what kind function of this?

1 view (last 30 days)
uncung fgv
uncung fgv on 11 Apr 2013
Xcp = fminsearch(@(x,pexp) fconst(x,Pexp),[1])
I have previously:
Pexp =[3 4 6 7 8 9 2 3 ]

Accepted Answer

the cyclist
the cyclist on 11 Apr 2013
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 Comments
Walter Roberson
Walter Roberson on 11 Apr 2013
@ indicates an anonymous function.

Sign in to comment.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!