parameter estimation of predefined function

1 visualización (últimos 30 días)
Win co
Win co el 28 de Oct. de 2014
Comentada: Win co el 28 de Oct. de 2014
Hi everyone, I have a function defined as following:
I'd would like to know if there is a Matlab function that can estimate these two parameters given a set of values of (x,y).
With kind regards,
Winn
  2 comentarios
Matt J
Matt J el 28 de Oct. de 2014
given a set of values of (x,y).
Are you not also given E(x,y)? You would need that, too.
Win co
Win co el 28 de Oct. de 2014
good remark! Indeed, E is given too.

Iniciar sesión para comentar.

Respuesta aceptada

Matt J
Matt J el 28 de Oct. de 2014
Editada: Matt J el 28 de Oct. de 2014
There is lsqcurvefit in the Optimization Toolbox and nlinfit in the Statistics Toolbox. If you have neither, there is fminspleas ( Download ). The latter could be useful, because your model is loglinear in beta
log(E)-log(1-y) = beta*f(x,alpha)
which fminspleas can advantage of. In particular, fitting log(E)-log(1-y) with fminspleas only requires a good initial guess for alpha. The solution fminspleas gives you for both alpha and beta can then be used as initial guesses in a more refined fit.
  1 comentario
Win co
Win co el 28 de Oct. de 2014
Thank you so much for this indication. It resolves my problem as I wished.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by