gbd_pdf.m

来自「这是盲信号的代码 都已经通过编译了 做这方面的同仁可以参考一下 我觉得蛮惯用的」· M 代码 · 共 41 行

M
41
字号
function density=gbd_pdf(x,beta);%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% GBD_PDF - Calculates the values of the probability density% function (PDF) of a distribution from the Generalized Beta Distribution.%% Input:%   x    = the realization matrix (sample values)%   beta = the distribution parameters vector [beta(1) beta(2) beta(3) beta(4)]%% Output:%   cp   = the PDF matrix corresponding to x%% Copyright (c) Helsinki University of Technology,% Signal Processing Laboratory,% Jan Eriksson, Juha Karvanen, and Visa Koivunen.%% For details see the files readme.txt% and gpl.txt provided within the same package.%% Last modified: 5.9.2000%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    if nargin<2, disp('Usege: gbd_pdf(x,beta)');             error('Not enough input arguments.');  end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The PDF is given by the equation (20) in%   Eriksson, J., Karvanen, J., and Koivunen, V.:%   "Source Distribution Adaptive Maximum Likelihood Estimation of ICA Model", %   Proceedings of Second International Workshop on%   Independent Component Analysis and Blind Signal Separation,%   Helsinki 2000, pp. 227--232%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%C=gamma(beta(3)+beta(4)+2)/(gamma(beta(3)+1)*gamma(beta(4)+1));density=C*beta(2)^(-(beta(3)+beta(4)+1))*(x-beta(1)).^beta(3).*...	(beta(1)+beta(2)-x).^beta(4);% The end of the function %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

⌨️ 快捷键说明

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