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

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

?? cntsurf.m

?? 一種新的時頻分析方法的matlab源程序。
?? M
字號:
function CS=cntsurf(arg1,arg2,arg3,arg4);

%	The function CNTSURF calculates the contour matrix CS for use by EXTCONTOUR
%	to draw the actual contour plot. It is an extension of CONTOURC
%	for contouring over non-rectangular surface.
% 
%	C = cntrsurf(Z) computes the contour matrix for a contour plot
%	of matrix Z treating the values in Z as heights above a plane.
%
%	C = cntrsurf(X,Y,Z), where X and Y are vectors, specifies the X- 
%	and Y-axes for the contour computation. X and Y can also be 
%	matrices of the same size as Z, in which case they specify 
%	surface in an identical manner as SURFACE.
%
%	cntrsurf(Z,N) and cntrsurf(X,Y,Z,N) compute N contour lines, 
%	overriding the default automatic value.
%
%	cntrsurf(Z,V) and cntrsurf(X,Y,Z,V) compute LENGTH(V) contour 
%	lines at the values specified in vector V.
%  
%	The contour matrix CS is a two row matrix of contour lines. Each
%	contiguous drawing segment contains the value of the contour, 
%	the number of (x,y) drawing pairs, and the pairs themselves.  
%	The segments are appended end-to-end as
%  
%            C = [level1 x1 x2 x3 ... level2 x2 x2 x3 ...;
%                 pairs1 y1 y2 y3 ... pairs2 y2 y2 y3 ...]
%  
%	See also EXTCONTOUR.

%	R. Pawlowicz (IOS) rich@ios.bc.ca	12 Dec. 1994 Initial


 
if (nargin <=2 ),
 numarg_for_call='arg1';
 for ii=2:nargin,
  numarg_for_call=[numarg_for_call ',arg' int2str(ii)];
 end;
 zz=arg1;
else
 numarg_for_call='arg3';
 for ii=4:nargin,
  numarg_for_call=[numarg_for_call ',arg' int2str(ii)];
 end;
 zz=arg3;
end; 

eval(['CS=contourc(' numarg_for_call ');']);
[Ny,Nx]=size(zz);
 
% Find data values and check curve orientation.
 
ii=ones(1,size(CS,2));
k=1;
while (k < size(CS,2)),
  nl=CS(2,k);
  
  % Now this is a little bit of magic needed to make the filled contours
  % work. Essentially I draw the *closed* contours so that the "high" side is
  % always on the right. To test this, I take the cross product of the
  % first vector with a vector to a corner point and test the sign
  % against the elevation change. There are several special cases:
  % (1) If the contour line goes through a point (which happen when -Infs
  % are around), and (2) when the contour level equals the level on the high
  % side (this always seems to happen in 'simple test' cases!). We take
  % care of (1) by choosing other points, and we take care of (2) by adding
  % eps to the data before comparing with the contour data.
  
  if ( CS(:,k+1)==CS(:,k+nl) & nl>1 ),
    lev=CS(1,k);
    x1=CS(1,k+1); y1=CS(2,k+1);
    x2=CS(1,k+2); y2=CS(2,k+2);
    vx1=x2-x1; vy1=y2-y1;
    cpx=round(x1); cpy=round(y1);
    if ( [cpx cpy]==[x1 y1] ),
      cpx=round(x2); cpy=round(y2);
      if ( [cpx cpy]==[x2 y2]),
         if ( ~([cpx cpy]==round([x1 y1])) ),
           cpx=round(x1);
         else
           cpx=round(x1)+y2-y1;
           cpy=round(y1)-x2+x1;
         end;
       end;
    end;
    vx2=cpx-x1; vy2=cpy-y1;
%    if (sign(zz(cpy,cpx)-lev+epslev)==0) disp('lev=0'); end;
%    if (sign(vx1*vy2-vx2*vy1)==0) disp('cross=0'); end;
    if ( sign(zz(cpy,cpx)-lev+eps) == sign(vx1*vy2-vx2*vy1)  ),
      CS(:,k+[1:nl])=fliplr(CS(:,k+[1:nl]));
    end; 
  end;
  ii(k)=0;
  k=k+1+nl;
end;

% Data from integer coords to data coords. There are 3 cases
% (1) Matrix X/Y
% (2) Vector X/Y
% (3) no X/Y. (do nothing);

if (nargin>2 & min(size(arg1))>1 ),
 
 X=CS(1,ii)';   Y=CS(2,ii)';
 cX=ceil(X);    fX=floor(X);
 cY=ceil(Y);    fY=floor(Y);
 
 Ibl=cY+(fX-1)*Ny;    Itl=fY+(fX-1)*Ny;
 Itr=fY+(cX-1)*Ny;    Ibr=cY+(cX-1)*Ny;
 
 dy=cY-Y; dx=X-fX;
 
 % Correct for possible conflicts in MATLAB's [1 1 1 ] indexing. This
 % probably will *never* happen in real life, but turns up annoyingly
 % often in "simple" test cases.
 if (Nx*Ny == length(Ibl) ),
   Ibl=[1;Ibl];   Itl=[1;Itl];
   Itr=[1;Itr];   Ibr=[1;Ibr];
   dx=[0;dx];     dy=[0;dy];
   Csave=CS(:,1); 
   ii(1)=1;  
 end;
 
 CS(1,(ii)) = [ arg1(Ibl).*(1-dx).*(1-dy) + arg1(Itl).*(1-dx).*dy ...
             + arg1(Itr).*dx.*dy         + arg1(Ibr).*dx.*(1-dy)]';
 CS(2,(ii)) = [ arg2(Ibl).*(1-dx).*(1-dy) + arg2(Itl).*(1-dx).*dy ...
             + arg2(Itr).*dx.*dy         + arg2(Ibr).*dx.*(1-dy) ]';

 if (exist('Csave')),
  CS(:,1)=Csave;
 end;
 
elseif (nargin>2 & min(size(arg1))==1 ),
 X=CS(1,ii);  Y=CS(2,ii);
 cX=ceil(X); fX=floor(X);
 cY=ceil(Y); fY=floor(Y);

 dy=cY-Y;    dx=X-fX;

 if (size(arg1,2)==1), 
   CS(1,ii)=[arg1(fX)'.*(1-dx)+arg1(cX)'.*dx];
 else
   CS(1,ii)=[arg1(fX).*(1-dx)+arg1(cX).*dx];
 end;
 
 if (size(arg2,2)==1), 
   CS(2,ii)=[arg2(fY)'.*dy+arg2(cY)'.*(1-dy)]; 
 else
   CS(2,ii)=[arg2(fY).*dy+arg2(cY).*(1-dy)]; 
 end;
 
end;
             
              

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99re热这里只有精品免费视频| 亚洲大片免费看| 日韩精品一区二区三区视频播放 | 日韩欧美精品在线视频| 在线观看中文字幕不卡| 91麻豆免费看| 欧美性做爰猛烈叫床潮| 欧美亚洲国产一区二区三区| 欧美三级电影在线观看| 91麻豆精品秘密| 在线一区二区观看| 欧美日韩精品一区二区| 欧美日韩国产精选| 欧美一区二区大片| 久久网站热最新地址| 久久久久久久国产精品影院| 国产精品剧情在线亚洲| 一区二区三区中文字幕精品精品 | 日韩成人免费电影| 国模娜娜一区二区三区| 粉嫩高潮美女一区二区三区| www.日韩av| 精品视频在线看| 久久久午夜精品| 亚洲一区在线电影| 国内成人精品2018免费看| 粉嫩高潮美女一区二区三区| 在线一区二区三区做爰视频网站| 884aa四虎影成人精品一区| 欧美精品一区二区三区一线天视频| 国产午夜精品久久久久久久| 亚洲激情自拍视频| 韩国精品在线观看| 在线观看一区日韩| 久久九九久久九九| 亚洲一区二区三区在线播放| 精品一区二区三区免费观看| jlzzjlzz亚洲日本少妇| 日韩欧美aaaaaa| 伊人婷婷欧美激情| 国产精品白丝jk黑袜喷水| 色综合天天视频在线观看 | 久久久精品欧美丰满| 一区二区三区资源| 韩日欧美一区二区三区| 在线观看日韩电影| 国产欧美一区二区精品秋霞影院| 亚洲成人你懂的| www..com久久爱| 精品国内二区三区| 日韩电影在线观看一区| 92精品国产成人观看免费| 精品国产凹凸成av人导航| 一区二区三区波多野结衣在线观看| 国产一区二区三区在线观看精品| 欧美日韩mp4| 亚洲美女免费在线| 不卡的看片网站| 久久亚洲精精品中文字幕早川悠里| 亚洲一区二区三区四区五区中文| 成人激情小说乱人伦| 欧美成人国产一区二区| 亚洲午夜精品网| 欧美在线制服丝袜| 亚洲久草在线视频| 99re成人精品视频| 国产精品卡一卡二| 成人av在线播放网址| 久久女同精品一区二区| 国产一区二区在线看| 日韩一区二区三区视频在线| 亚洲.国产.中文慕字在线| 欧美综合色免费| 亚洲精品一二三四区| 91美女视频网站| 一区二区国产视频| 欧美日韩一级大片网址| 亚洲国产精品一区二区久久恐怖片 | 在线日韩av片| 亚洲一区二区三区美女| 欧美视频三区在线播放| 五月激情丁香一区二区三区| 欧美日韩精品一区二区三区| 首页欧美精品中文字幕| 51精品久久久久久久蜜臀| 久久精品噜噜噜成人av农村| 精品国产sm最大网站| 粉嫩一区二区三区性色av| 中文字幕在线观看一区二区| av成人免费在线| 亚洲第一二三四区| 日韩精品中文字幕在线不卡尤物| 精品一区二区三区在线播放| 久久久一区二区三区| 91女人视频在线观看| 亚洲一区视频在线观看视频| 欧美一区二区三区免费视频| 精品一区二区免费看| 国产亚洲一区二区三区四区| 不卡的av在线播放| 亚洲va天堂va国产va久| 久久久精品日韩欧美| 91丨九色丨蝌蚪富婆spa| 婷婷夜色潮精品综合在线| 精品国产伦理网| a4yy欧美一区二区三区| 亚洲一区二区三区四区在线 | 亚洲综合图片区| 日韩免费高清电影| 91视视频在线观看入口直接观看www | 久久久久亚洲蜜桃| 91久久精品一区二区三| 国产麻豆视频一区| 亚洲国产日韩综合久久精品| 精品99一区二区| 欧美少妇性性性| 成人午夜私人影院| 日本欧美在线观看| 亚洲欧美色一区| 久久九九99视频| 91 com成人网| 色88888久久久久久影院按摩| 久久国产生活片100| 一区二区三区在线视频免费观看| 精品动漫一区二区三区在线观看| 91麻豆国产香蕉久久精品| 国产在线精品一区二区夜色| 亚洲电影视频在线| 综合婷婷亚洲小说| 国产欧美日韩精品一区| 日韩欧美一区在线| 欧美日韩美少妇| 日本韩国欧美一区二区三区| 国产精华液一区二区三区| 日本网站在线观看一区二区三区| 一区二区三区四区高清精品免费观看| 久久综合九色综合97婷婷 | 国产在线播精品第三| 日韩和欧美一区二区三区| 一区二区三区四区激情 | 亚洲一区二区三区美女| 中文字幕制服丝袜一区二区三区| 精品欧美一区二区久久| 欧美一级理论片| 欧美日韩aaaaa| 制服丝袜国产精品| 欧美电影一区二区三区| 欧美专区在线观看一区| 色婷婷av一区二区三区之一色屋| 国产不卡高清在线观看视频| 国产高清一区日本| 国产高清亚洲一区| 成人午夜电影小说| 丁香婷婷综合网| 99久久精品久久久久久清纯| 成人黄动漫网站免费app| av在线播放成人| 91浏览器入口在线观看| 在线观看免费视频综合| 欧美午夜一区二区| 欧美军同video69gay| 欧美一区二区三区四区五区| 日韩欧美一区中文| wwwwxxxxx欧美| 国产三区在线成人av| 亚洲人成网站精品片在线观看| 亚洲色图制服诱惑| 亚洲成人av在线电影| 蜜臀国产一区二区三区在线播放| 久久精品国产99国产| 国产一区二区三区视频在线播放| 国产在线精品一区在线观看麻豆| 国产suv精品一区二区三区| 成人国产精品免费| 欧美在线一二三| 日韩免费视频一区| 国产三级精品三级在线专区| 日韩毛片在线免费观看| 亚洲国产wwwccc36天堂| 久久精品国产99国产精品| 不卡一区二区在线| 欧美麻豆精品久久久久久| 亚洲精品在线三区| 亚洲欧美一区二区三区孕妇| 亚洲国产精品一区二区尤物区| 久久不见久久见免费视频1| 波多野结衣一区二区三区 | 成人在线视频首页| 欧美影院午夜播放| 久久婷婷成人综合色| 一区二区成人在线视频| 免费成人性网站| 日本福利一区二区| 精品99一区二区三区| 亚洲午夜电影在线| 国产成人久久精品77777最新版本| 91麻豆免费观看| 国产亚洲va综合人人澡精品| 偷拍亚洲欧洲综合| 粉嫩aⅴ一区二区三区四区|