% This folder contains a collection of "fitting" functions. % (Some has demo options - the third section) % The GENERAL input to the functions should be samples of the distribution. % % for example, if we are to fit a normal distribution ('gaussian') with a mean "u" and varaince "sig"^2 % then the samples will distribute like: % samples = randn(1,10000)*sig + u % %fitting with Least-Squares is done on the histogram of the samples. % fitting with Maximum likelihood is done directly on the samples. % % % Contents of this folder % ======================= % 1) Maximum likelihood estimators % 2) Least squares estimators % 3) EM algorithm for estimation of multivariant gaussian distribution (mixed gaussians) % 4) added folders: Create - which create samples for the EM algorithm test % Plot - used to plot each of the distributions (parametric plot) % % % % % % Maximum likelihood estimators % ============================= % fit_ML_maxwell - fit maxwellian distribution % fit_ML_rayleigh - fit rayleigh distribution % (which is for example: sqrt(abs(randn)^2+abs(randn)^2)) % fit_ML_laplace - fit laplace distribution % fit_ML_log_normal- fit log-normal distribution % fit_ML_normal - fit normal (gaussian) distribution % % NOTE: all estimators are efficient estimators. for this reason, the distribution % might be written in a different way, for example, the "Rayleigh" distribution % is given with a parameter "s" and not "s^2". % % % least squares estimators % ========================= % fit_maxwell_pdf - fits a given curve of a maxwellian distribution % fit_rayleigh_pdf - fits a given curve of a rayleigh distribution % % NOTE: these fit function are used on a histogram output which is like a sampled % distribution function. the given curve MUST be normalized, since the estimator % is trying to fit a normalized distribution function. % % % % % Multivariant Gaussian distribution % ================================== % for demo of 1
2019-12-21 21:58:21 24KB mixture gaussian laplacian
1
matlab下的幂律拟合函数 先构造函数 然后验证是否拟合效果好
2019-12-21 21:27:18 11KB matlab 幂律分布
1
matlab曲面拟合函数gridfit_代替griddata
2019-12-21 21:15:25 819KB matlab
1
神经网络拟合函数的简单程序,,matlab语言编写。
2019-12-21 20:18:14 2KB 神经网络 matlab
1
此代码为matlab代码,实现BP神经网络对函数的拟合,此代码未使用matlab工具箱函数,而是将整个前馈和反向传播过程用代码形式编写出来,因此具有很重要的参考价值
2019-12-21 20:00:46 13KB matlab BP神经网络 拟合函数
1
曲线 拟合 三维曲线拟合 MATLAB 程序曲线 拟合 三维曲线拟合 MATLAB 程序曲线 拟合 三维曲线拟合 MATLAB 程序曲线 拟合 三维曲线拟合 MATLAB 程序曲线 拟合 三维曲线拟合 MATLAB 程序
2019-12-21 20:00:24 3KB 曲线 拟合 三维曲线拟合 MATLAB
1
这是用C#写的用最小二乘法实现的各种拟合函数,包括了多项式拟合,指数函数拟合,对数函数拟合,幂函数拟合。本人菜鸟一枚,有错误的地方请多多指教。
2019-12-21 19:45:06 37KB C# 拟合函数 最小二乘法
1