what kind function of this?

5 次查看(过去 30 天)
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
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 个评论
Walter Roberson
Walter Roberson 2013-4-11
@ indicates an anonymous function.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by