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 ]

 Respuesta aceptada

the cyclist
the cyclist el 11 de Abr. de 2013

0 votos

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 comentarios

uncung fgv
uncung fgv el 11 de Abr. de 2013
Editada: uncung fgv el 11 de Abr. de 2013
thx.
we have:
function y=fnconst(x,pexp);
and what is :
@
[1]?
Walter Roberson
Walter Roberson el 11 de Abr. de 2013
@ indicates an anonymous function.
uncung fgv
uncung fgv el 11 de Abr. de 2013
thx

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Function Creation en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by