fsolve does not work

i get the following error after running this:
f = @(k1,k2) k1+k2
fsolve(f,[0; 0])
-----------------------------------
Input argument "k2" is undefined.
Error in ==> @(k1,k2)k1+k2
Error in ==> fsolve at 248 fuser = feval(funfcn{3},x,varargin{:});
Caused by: Failure in initial user-supplied objective function evaluation. FSOLVE cannot continue.

Respuestas (1)

Categorías

Más información sobre Audio Processing Algorithm Design en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de Sept. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by