sigm_fit_val(param,​x)

Versión 1.0.0.0 (977 Bytes) por R P
It returns estimated Y for sigmoid for given PARAM and X
127 descargas
Actualizado 10 Feb 2017

Ver licencia

sigm_fit_val returns estimated Y for the sigmoidal function with given PARAM and of a given X vector.

The functions sigm_fit and sigm_fit_val are the equivalent of the builtin
Matlab functions polyfit and polyval for sigmoid functions.

sigm_fit is available on http://www.mathworks.com/matlabcentral/fileexchange/42641-sigm-fit

Syntax: [yhat] = sigm_fit_val(param,x)

Example:
xdata=[0 ,50 ,100 ,150,200,250 ,300,350,400,450,500, 550,600, 650, 700,750, 800, 850, 900, 950,1000];
ydata=[-29,-205,-156,-50 ,-28,-103,249,120,86,178,740,1199,918,1096,1065,1074,1004,1193,1122,860,1045];
[param]=sigm_fit(xdata,ydata,[],[0 1000 500 0.01],0)
x = 0:20:1000;
[yhat] = sigm_fit_val(param,x);
plot(x,yhat)

Citar como

R P (2024). sigm_fit_val(param,x) (https://www.mathworks.com/matlabcentral/fileexchange/61519-sigm_fit_val-param-x), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2015a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Curve Fitting Toolbox en Help Center y MATLAB Answers.
Etiquetas Añadir etiquetas
Agradecimientos

Inspirado por: sigm_fit

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0