亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? fit_rayleigh_pdf.m

?? 多種概率分布的擬合函數(shù)集合 本算法包括最大似然估計(jì)
?? M
字號(hào):
function result = fit_rayleigh_pdf( x,y,W,hAx )
% fit_rayleigh_pdf - Non Linear Least Squares fit of the Rayleigh distribution.
%                    given the samples of the histogram of the samples, finds the 
%                    distribution parameter that fits the histogram samples.
%
%    fits data to the probability of the form: 
%        p(r)=r*exp(-r^2/(2*s))/s
%    with parameter: s
%
% format:   result = fit_rayleigh_pdf( x,y,W,hAx )
%
% input:    y   - vector, samples of the histogram to be fitted
%           x   - vector, position of the samples of the histogram (i.e. y = f(x,a))
%           W   - matrix or scalar, a square weighting matrix of the size NxN where
%                 N = length(y), or 0 to indicate no weighting is needed.
%           hAx - handle of an axis, on which the fitted distribution is plotted
%                 if h is given empty, a figure is created.
%
% output:   result  - structure with the fields
%                      s   - fitted parameter
%                      VAR - variance of the estimation
%                      type- weighted LS or not weighted LS
%                      iter- number of iteration for the solution
%

%
% Algorithm
% ===========
%
% We use the WLS algorithm to estimate the PDF from the samples.%
% The rayleigh distribution is given by:
%
%    p(x,s) = x*exp(-x^2/(2*s))/s
%
%    note that X is known and therefore, considered a constant vector
%
% The non liner WLS estimator is given by:
%
%    s(n+1) = s(n) + inv(H'*W*H)*(H') * (y-h) = s(n) + G * err
% 
%    where:   h = p(x,s)
%             H = diff( p(x,a) ) with respect to "s"
%             W = weighting matrix of size NxN  (N = length(y))
%             s = a single parameter to be estimated
%
% The error estimation is given by:
%
%    VAR( s ) = G * VAR( err ) * (G')
%
%       or when W=I and the noise is a gaussian noise 
%
%    VAR( s ) = inv( H' * H )
%

if (nargin<3)
    error( 'fit_rayleigh_pdf - insufficient input arguments' );
end

s       = x(find(y==max(y))).^2;        % initial guess
y       = y(:);                         % both should be column vectors !
x       = x(:);
x2      = x.^2;                         % save computation time
thresh  = 0.995;                        % convergence threshold for the loop
last_cnt= inf;
iter    = 0;

% check weight matrix input
if (size(W,1)==length(y)) & (size(W,2)==length(y))
    weights_flag    = 1;
    type            = 'WLS';
else
    weights_flag    = 0;
    type            = 'LS';
end


% Estimation
% =============
if (weights_flag)
    % loop for convergence (with weighting matrix)
    % =============================================
    while (1)
        iter    = iter + 1;
        h       = x.*exp( -x2/(2*s) )/s;
        H       = h.*(x2/(2*s^2) - 1/s);
        HTW     = H'*W;
        e       = inv( HTW * H ) * HTW * (y-h);
        s       = s + e;
        control = e*e;
        if ( control > (last_cnt * thresh) )
            break;
        else
            last_cnt = control;
        end
    end

    % summarize results
    h       = x.*exp( -x2/(2*s) )/s;
    H       = h.*(x2/(2*s^2) - 1/s);
    HTW     = H'*W;
    G       = inv( HTW * H ) * HTW;
    err     = (y-h);
    VAR     = G * var(err) * (G');
else

    % loop for convergence (without a weighting matrix)
    % ==================================================
    while (1)
        iter    = iter + 1;
        h       = x.*exp( -x2/(2*s) )/s;
        H       = h.*(x2/(2*s^2) - 1/s);
        HT      = H';
        control = inv( HT * H );
        s       = s + control * HT * (y-h);
        if ( control>(last_cnt * thresh) )
            break;
        else
            last_cnt = control;
        end
    end
    
	% summarize results
    h       = x.*exp( -x2/(2*s) )/s;
    H       = h.*(x2/(2*s^2) - 1/s);
    err     = (y-h);
    VAR     = inv( (H') * H );
end


% finish summarizing results
% ============================
result.s    = s;
result.VAR  = VAR;
result.RMS  = sqrt( (err')*err/ (x(2)-x(1))^2 / (length(err)-1) );
result.iter = iter;
result.type = type;

% plot distribution if asked for
% ===============================
if (nargin>3)
    if ishandle( hAx )
        plot_rayleigh( x,result,hAx,4 );
    else
        figure;
        plot_rayleigh( x,result1,gca,4 );
    end
end

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91免费精品国自产拍在线不卡| 亚洲一区二区欧美日韩| 韩国v欧美v日本v亚洲v| 精品成人一区二区三区| 久久99精品视频| 久久久国产一区二区三区四区小说 | 奇米综合一区二区三区精品视频| 欧美丰满一区二区免费视频| 久久精品国产99国产| 欧美韩国日本综合| 色狠狠桃花综合| 日本不卡在线视频| 国产午夜精品一区二区三区嫩草| 99免费精品视频| 亚洲成a人在线观看| 26uuu亚洲婷婷狠狠天堂| 97久久精品人人做人人爽| 亚洲a一区二区| 久久先锋影音av鲁色资源网| 91丨porny丨最新| 免费人成在线不卡| 国产精品国产自产拍在线| 欧美午夜精品久久久| 久久99精品久久只有精品| 中文字幕色av一区二区三区| 欧美福利一区二区| 成人午夜短视频| 日韩av电影免费观看高清完整版在线观看| 精品999久久久| 91视频一区二区| 国产在线一区观看| 一区二区三区中文字幕精品精品| 欧美成人aa大片| 91美女在线观看| 国产伦精品一区二区三区视频青涩| 国产精品久久久爽爽爽麻豆色哟哟| 欧美精品在线观看播放| 国产成人在线色| 午夜精品久久久久久久99樱桃| 国产精品美女久久久久久2018 | 国产高清久久久久| 亚洲午夜免费视频| 亚洲国产精品国自产拍av| 91精品国产综合久久国产大片| proumb性欧美在线观看| 久久99精品久久久久婷婷| 亚洲国产成人va在线观看天堂| 欧美国产日韩精品免费观看| 欧美大度的电影原声| 欧美综合天天夜夜久久| 成人黄色综合网站| 国产精品伊人色| 久久超碰97中文字幕| 日韩黄色片在线观看| 一区二区三区在线视频免费观看| 中文字幕av不卡| 26uuu亚洲综合色欧美| 日韩一级片在线观看| 欧美日韩大陆在线| 在线看国产一区| 色吧成人激情小说| 不卡av在线网| 粉嫩嫩av羞羞动漫久久久| 国产一区二区精品久久| 国产专区欧美精品| 激情久久五月天| 激情图区综合网| 国产一区二区伦理| 国产经典欧美精品| 成人性视频免费网站| 国产白丝精品91爽爽久久| 国产mv日韩mv欧美| 国产成人午夜电影网| 国产成人在线观看免费网站| 国产精品原创巨作av| 国产a视频精品免费观看| 粉嫩aⅴ一区二区三区四区五区| 国产一区亚洲一区| 国产成人精品免费看| av不卡在线播放| 91亚洲国产成人精品一区二三| 日本黄色一区二区| 欧美日韩一区二区三区四区 | 91在线免费播放| 色婷婷一区二区三区四区| 欧美在线综合视频| 欧美久久婷婷综合色| 欧美一区二区三区视频在线观看| 日韩视频一区在线观看| 久久你懂得1024| 国产精品九色蝌蚪自拍| 一区二区三区四区在线免费观看| 亚洲成人免费观看| 亚洲第一综合色| 极品少妇一区二区三区精品视频| 国产精品一色哟哟哟| 99久久精品免费精品国产| 欧亚一区二区三区| 日韩一区二区免费在线观看| 国产日产精品1区| 亚洲蜜桃精久久久久久久| 三级欧美在线一区| 国产精品综合二区| 色av成人天堂桃色av| 日韩一区二区电影| 国产精品国产自产拍高清av王其 | 免费久久99精品国产| 粉嫩欧美一区二区三区高清影视 | 播五月开心婷婷综合| 欧美日韩精品免费观看视频| 精品福利在线导航| 亚洲精品伦理在线| 国模大尺度一区二区三区| 色乱码一区二区三区88| 日韩视频在线观看一区二区| 亚洲欧洲成人精品av97| 日本欧美大码aⅴ在线播放| 成人深夜福利app| 91麻豆精品国产91久久久久久久久| 国产日韩欧美精品在线| 亚洲一区二区偷拍精品| 国产乱子轮精品视频| 日本韩国精品在线| 国产午夜精品久久| 日本不卡一区二区| 色婷婷久久久综合中文字幕| 亚洲精品一区二区三区99| 亚洲一区二区影院| 成人动漫在线一区| 日韩三级.com| 尤物在线观看一区| 成人午夜电影网站| 精品国产免费人成在线观看| 亚洲一区二区三区四区在线免费观看| 国产一区二区三区四| 69p69国产精品| 亚洲精品国产高清久久伦理二区| 国产伦精品一区二区三区免费迷| 91精品国产综合久久久蜜臀粉嫩| 亚洲色图视频免费播放| 国产91色综合久久免费分享| 欧美精品日韩精品| 亚洲综合久久av| 99精品国产视频| 国产欧美日韩视频在线观看| 麻豆91小视频| 69堂精品视频| 亚洲午夜精品17c| 色哟哟国产精品免费观看| 国产精品久久久久永久免费观看| 国产剧情一区在线| 精品国产乱码久久久久久牛牛| 三级久久三级久久久| 欧美日韩久久不卡| 亚洲电影一区二区三区| 欧美午夜在线观看| 一区二区三区日本| 91国产免费看| 一区二区三区中文在线| 99久久精品国产毛片| 日韩理论片在线| 色综合久久中文综合久久97| 亚洲视频 欧洲视频| 99麻豆久久久国产精品免费优播| 亚洲国产精品成人综合| 不卡的av网站| 亚洲美女视频一区| 91黄视频在线| 性久久久久久久| 在线播放中文一区| 久久精品国产网站| 2021国产精品久久精品 | 国产成人午夜99999| 日本一区二区三区四区在线视频 | 亚洲黄一区二区三区| 色88888久久久久久影院野外| 亚洲欧美激情小说另类| 在线观看国产日韩| 日本欧美一区二区| 久久综合久久综合亚洲| 成人毛片视频在线观看| 亚洲码国产岛国毛片在线| 欧美在线观看一二区| 日韩和的一区二区| 久久色在线视频| 成人免费av在线| 亚洲国产成人av网| 精品国产自在久精品国产| 床上的激情91.| 夜夜亚洲天天久久| 日韩欧美视频一区| 成人一区二区三区视频在线观看| 亚洲精品视频一区| 欧美一区二区三区啪啪| 国产乱子伦一区二区三区国色天香 | 亚洲精品国产视频| 精品日韩一区二区| 91丨porny丨户外露出| 日韩电影在线免费看| 精品999在线播放|