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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? l_corner.m

?? 這是在網上下的一個東東
?? M
字號:
function [reg_c,rho_c,eta_c] = l_corner(rho,eta,reg_param,U,s,b,method,M) %L_CORNER Locate the "corner" of the L-curve. % % [reg_c,rho_c,eta_c] = %        l_corner(rho,eta,reg_param) %        l_corner(rho,eta,reg_param,U,s,b,method,M) %        l_corner(rho,eta,reg_param,U,sm,b,method,M) ,  sm = [sigma,mu] % % Locates the "corner" of the L-curve in log-log scale. % % It is assumed that corresponding values of || A x - b ||, || L x ||, % and the regularization parameter are stored in the arrays rho, eta, % and reg_param, respectively (such as the output from routine l_curve). % % If nargin = 3, then no particular method is assumed, and if % nargin = 2 then it is issumed that reg_param = 1:length(rho). % % If nargin >= 6, then the following methods are allowed: %    method = 'Tikh'  : Tikhonov regularization %    method = 'tsvd'  : truncated SVD or GSVD %    method = 'dsvd'  : damped SVD or GSVD %    method = 'mtsvd' : modified TSVD, % and if no method is specified, 'Tikh' is default.  If the Spline Toolbox % is not available, then only 'Tikh' and 'dsvd' can be used. % % An eighth argument M specifies an upper bound for eta, below which % the corner should be found.  % The following functions from the Spline Toolbox are needed if % method differs from 'Tikh' or 'dsvd': % fnder, ppbrk, ppmak, ppual, sp2pp, sorted, spbrk, spmak, sprpp.  % Per Christian Hansen, IMM, Dec. 12, 2002.  % Set default regularization method. if (nargin <= 3)   method = 'none';   if (nargin==2), reg_param = [1:length(rho)]'; end else   if (nargin==6), method = 'Tikh'; end end  % Set threshold for skipping very small singular values in the % analysis of a discrete L-curve. s_thr = eps;  % Neglect singular values less than s_thr.  % Set default parameters for treatment of discrete L-curve. deg   = 2;  % Degree of local smooting polynomial. q     = 2;  % Half-width of local smoothing interval. orig = 2order = 4;  % Order of fitting 2-D spline curve.  % Initialization. if (length(rho) < order)   error('Too few data points for L-curve analysis') end if (nargin > 3)   [p,ps] = size(s); [m,n] = size(U);  beta = U'*b;  if (m>n), b0 = b - U*beta; end  if (ps==2)    s = s(p:-1:1,1)./s(p:-1:1,2);    U = U(:,p:-1:1);    beta = beta(p:-1:1);  end  xi = beta./s; end  % Restrict the analysis of the L-curve according to M (if specified). if (nargin==8)   index = find(eta < M);   rho = rho(index); eta = eta(index); reg_param = reg_param(index); end  if (strncmp(method,'Tikh',4) | strncmp(method,'tikh',4))    % The L-curve is differentiable; computation of curvature in   % log-log scale is easy.      % Compute g = - curvature of L-curve.   g = lcfun(reg_param,s,beta,xi);      % Locate the corner.  If the curvature is negative everywhere,   % then define the leftmost point of the L-curve as the corner.   [gmin,gi] = min(g);  reg_c = fminbnd('lcfun',...     reg_param(min(gi+1,length(g))),reg_param(max(gi-1,1)),...     optimset('Display','off'),s,beta,xi); % Minimizer.   kappa_max = - lcfun(reg_c,s,beta,xi); % Maximum curvature.    if (kappa_max < 0)     lr = length(rho);     reg_c = reg_param(lr); rho_c = rho(lr); eta_c = eta(lr);   else     f = (s.^2)./(s.^2 + reg_c^2);     eta_c = norm(f.*xi);     rho_c = norm((1-f).*beta);     if (m>n), rho_c = sqrt(rho_c^2 + norm(b0)^2); end   end elseif (strncmp(method,'tsvd',4) | strncmp(method,'tgsv',4) | ...         strncmp(method,'mtsv',4) | strncmp(method,'none',4))   % The L-curve is discrete and may include unwanted fine-grained   % corners.  Use local smoothing, followed by fitting a 2-D spline   % curve to the smoothed discrete L-curve.    % Check if the Spline Toolbox exists, otherwise return.   if (exist('splines')~=7)     error('The Spline Toolbox in not available so l_corner cannot be used')   end    % For TSVD, TGSVD, and MTSVD, restrict the analysis of the L-curve   % according to s_thr.   if (nargin > 3)     if (nargin==8)       % In case the bound M is in action.       s    = s(index,:);       beta = beta(index);       xi   = xi(index);     end     index = find(s > s_thr);     rho = rho(index); eta = eta(index); reg_param = reg_param(index);     s = s(index); beta = beta(index); xi = xi(index);   end    % Convert to logarithms.   lr = length(rho);   lrho = log(rho); leta = log(eta); slrho = lrho; sleta = leta;    % For all interior points k = q+1:length(rho)-q-1 on the discrete   % L-curve, perform local smoothing with a polynomial of degree deg   % to the points k-q:k+q.   v = [-q:q]'; A = zeros(2*q+1,deg+1); A(:,1) = ones(length(v),1);   for j = 2:deg+1, A(:,j) = A(:,j-1).*v; end   for k = q+1:lr-q-1     cr = A\lrho(k+v); slrho(k) = cr(1);     ce = A\leta(k+v); sleta(k) = ce(1);   end    % Fit a 2-D spline curve to the smoothed discrete L-curve.   sp = spmak([1:lr+order],[slrho';sleta']);   pp = ppbrk(sp2pp(sp),[4,lr+1]);    % Extract abscissa and ordinate splines and differentiate them.   % Compute as many function values as default in spleval.   P     = spleval(pp);  dpp   = fnder(pp);   D     = spleval(dpp); ddpp  = fnder(pp,2);   DD    = spleval(ddpp);   ppx   = P(1,:);       ppy   = P(2,:);   dppx  = D(1,:);       dppy  = D(2,:);   ddppx = DD(1,:);      ddppy = DD(2,:);    % Compute the corner of the discretized .spline curve via max. curvature.   % No need to refine this corner, since the final regularization   % parameter is discrete anyway.   % Define curvature = 0 where both dppx and dppy are zero.   k1    = dppx.*ddppy - ddppx.*dppy;   k2    = (dppx.^2 + dppy.^2).^(1.5);   I_nz  = find(k2 ~= 0);   kappa = zeros(1,length(dppx));   kappa(I_nz) = -k1(I_nz)./k2(I_nz);   [kmax,ikmax] = max(kappa);   x_corner = ppx(ikmax); y_corner = ppy(ikmax);    % Locate the point on the discrete L-curve which is closest to the   % corner of the spline curve.  Prefer a point below and to the   % left of the corner.  If the curvature is negative everywhere,   % then define the leftmost point of the L-curve as the corner.   if (kmax < 0)     reg_c = reg_param(lr); rho_c = rho(lr); eta_c = eta(lr);   else     index = find(lrho < x_corner & leta < y_corner);     if (length(index) > 0)       [dummy,rpi] = min((lrho(index)-x_corner).^2 + (leta(index)-y_corner).^2);       rpi = index(rpi);     else       [dummy,rpi] = min((lrho-x_corner).^2 + (leta-y_corner).^2);     end     reg_c = reg_param(rpi); rho_c = rho(rpi); eta_c = eta(rpi);   end  elseif (strncmp(method,'dsvd',4) | strncmp(method,'dgsv',4))    % The L-curve is differentiable; computation of curvature in   % log-log scale is easy.    % Compute g = - curvature of L-curve.   g = lcfun(reg_param,s,beta,xi,1);    % Locate the corner.  If the curvature is negative everywhere,   % then define the leftmost point of the L-curve as the corner.   [gmin,gi] = min(g);   reg_c = fminbnd('lcfun',...     reg_param(min(gi+1,length(g))),reg_param(max(gi-1,1)),...     optimset('Display','off'),s,beta,xi,1); % Minimizer.   kappa_max = - lcfun(reg_c,s,beta,xi,1); % Maximum curvature.    if (kappa_max < 0)     lr = length(rho);     reg_c = reg_param(lr); rho_c = rho(lr); eta_c = eta(lr);   else     f = s./(s + reg_c);     eta_c = norm(f.*xi);     rho_c = norm((1-f).*beta);     if (m>n), rho_c = sqrt(rho_c^2 + norm(b0)^2); end   end  else, error('Illegal method'), end 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久久aaaa樱花| 91小视频在线| 亚洲男帅同性gay1069| 欧美一级一区二区| 色乱码一区二区三区88| 精彩视频一区二区三区| 亚洲最新在线观看| 国产女人aaa级久久久级 | 亚欧色一区w666天堂| 久久久久久久精| 欧美欧美欧美欧美首页| 99视频在线观看一区三区| 久久99久久99| 丝袜国产日韩另类美女| 亚洲人成网站影音先锋播放| 久久久另类综合| 日韩欧美123| 欧美久久久影院| 在线观看亚洲精品| 97精品国产露脸对白| 国产福利一区在线| 极品尤物av久久免费看| 日韩成人av影视| 亚洲一区av在线| 亚洲精品美国一| 亚洲视频一区在线| 中文字幕免费在线观看视频一区| 欧美不卡激情三级在线观看| 4438x成人网最大色成网站| 91传媒视频在线播放| 91麻豆精品在线观看| 99久久综合国产精品| 成人免费高清在线观看| 国产成人综合亚洲网站| 国产精品一色哟哟哟| 狠狠网亚洲精品| 久久精品国产秦先生| 免费久久99精品国产| 秋霞成人午夜伦在线观看| 婷婷国产在线综合| 天天综合色天天| 日本亚洲三级在线| 美女任你摸久久| 精品一区二区三区久久久| 精品一区二区在线视频| 国产综合色精品一区二区三区| 国产在线视视频有精品| 国产精品一二三在| 成人av网在线| 99久久伊人久久99| 91激情在线视频| 欧美日韩国产大片| 日韩一区二区三区免费观看| 久久综合资源网| 色一区在线观看| 视频一区二区中文字幕| 欧美区视频在线观看| 91国产精品成人| 欧美日本一区二区三区四区 | 亚洲二区在线观看| 首页国产欧美久久| 久久精品72免费观看| 国产一区二三区好的| 成人av免费在线播放| 欧美性猛片aaaaaaa做受| 欧美日本精品一区二区三区| 日韩一区二区精品| 欧美极品少妇xxxxⅹ高跟鞋 | 99久久99久久综合| 欧美日精品一区视频| 日韩手机在线导航| 欧美极品xxx| 亚洲国产另类精品专区| 久久精品国产999大香线蕉| 精品影视av免费| 日韩午夜激情av| 国产欧美精品一区二区色综合朱莉 | 亚洲免费观看在线观看| 日韩高清在线电影| 成人午夜视频免费看| 欧美唯美清纯偷拍| 国产色一区二区| 亚洲午夜一二三区视频| 国产资源在线一区| 欧美专区亚洲专区| 久久久美女毛片| 亚洲国产精品麻豆| 国产精品原创巨作av| 欧美日韩一区在线观看| 国产日韩精品一区二区浪潮av| 伊人夜夜躁av伊人久久| 国内精品写真在线观看| 欧美午夜精品一区二区蜜桃| 欧美精品一区视频| 亚洲国产日韩综合久久精品| 国产高清精品久久久久| 欧美日韩成人在线| 亚洲欧美国产高清| 国产在线精品一区二区三区不卡| 日本高清不卡aⅴ免费网站| 久久综合网色—综合色88| 亚洲国产va精品久久久不卡综合| 国产大片一区二区| 日韩欧美亚洲一区二区| 亚洲美女免费在线| 风流少妇一区二区| 欧美一区二区日韩| 一区二区三区成人在线视频| 国产+成+人+亚洲欧洲自线| 日韩午夜精品电影| 午夜在线成人av| 色成人在线视频| 中文字幕日韩一区| 国产成都精品91一区二区三| 欧美一区永久视频免费观看| 亚洲一区二区在线免费观看视频| 国产成人av电影在线| 欧美不卡一区二区三区四区| 五月天精品一区二区三区| 色婷婷久久久综合中文字幕| 国产精品久久久久一区二区三区共| 蜜乳av一区二区| 欧美男生操女生| 亚洲福中文字幕伊人影院| 色欲综合视频天天天| 亚洲欧美怡红院| av成人老司机| 日韩一区在线免费观看| 国产成人自拍网| 久久综合99re88久久爱| 激情六月婷婷久久| 精品久久久久久久久久久久久久久 | 亚洲小少妇裸体bbw| 91免费看视频| 中文字幕一区二区在线观看| 成人性生交大合| 日本一区二区三区电影| 丰满白嫩尤物一区二区| 国产精品欧美精品| 成人av片在线观看| 亚洲欧洲国产日本综合| 91在线观看视频| 亚洲精品日产精品乱码不卡| 在线视频国内自拍亚洲视频| 亚洲一区自拍偷拍| 777午夜精品免费视频| 日韩一区欧美二区| 日韩欧美一区二区视频| 韩国三级在线一区| 国产欧美日韩精品在线| 成人av综合一区| 一区二区三区在线免费视频| 欧美日韩一区二区三区在线 | 国产福利91精品一区二区三区| 国产女主播视频一区二区| 成人黄色a**站在线观看| 亚洲免费在线观看| 欧美军同video69gay| 狠狠色综合色综合网络| 国产精品久久久久一区| 欧美少妇xxx| 久久99精品国产91久久来源| 欧美国产国产综合| 欧美亚洲国产bt| 日本不卡的三区四区五区| 久久久久88色偷偷免费| 色哟哟亚洲精品| 日本欧美一区二区| 中文字幕乱码久久午夜不卡 | 国产综合色在线视频区| 成人免费视频在线观看| 欧美日韩国产一级片| 国产美女视频一区| 亚洲人成在线播放网站岛国| 又紧又大又爽精品一区二区| 欧美麻豆精品久久久久久| 久久av老司机精品网站导航| 国产精品久久影院| 91麻豆精品国产综合久久久久久| 国产麻豆日韩欧美久久| 一区二区三区日韩| 2欧美一区二区三区在线观看视频| 91在线码无精品| 久久精品噜噜噜成人88aⅴ| 亚洲天堂2014| 精品久久久久久久人人人人传媒 | 国产精品一区一区| 亚洲高清免费视频| 中文字幕av不卡| 日韩一区二区三| 91福利资源站| 国产成人综合亚洲网站| 日韩电影网1区2区| 亚洲欧美成人一区二区三区| 337p日本欧洲亚洲大胆精品| 欧美亚洲一区三区| 成人三级伦理片| 麻豆国产91在线播放| 亚洲精品日韩综合观看成人91| 久久精品一区二区三区四区|