⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sigmoid.m

📁 可以进行曲线回归拟合算法的四参数算法。函数为 y = (a-d)/(1+(x/c)^b) +d . ec50.m 为其主要函数
💻 M
字号:
function yhat=sigmoid(params4,x)
% SIGMOID Function to fit data to a four parameter dose response curve
% requires the nlinfit function of the statistics toolbox and a set of 
% initial parameters such as the one generated by init_coeffs.m.
% This function is used by ec50.m
%
% Copyright 2004 Carlos Evangelista 
% send comments to CCEvangelista@aol.com
% Version 1.0    01/07/2004

min=params4(1);
max=params4(2);
ec=params4(3);
hillc=params4(4);

x1=x(:,1);

yhat=min+(max-min)./(1+(x1/ec).^hillc);




⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -