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

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

?? arrowh.m

?? 實現mimo+ofdm的功能
?? M
字號:
%  ARROWH   Draws a solid 2D arrow head in current plot.
%     ARROWH(X,Y,COLOR,SIZE,LOCATION) draws a solid arrow head into 
%     the current plot to indicate a direction.  X and Y must contain
%     a pair of x and y coordinates ([x1 x2],[y1 y2]) of two points:
%
%     The first point is only used to tell (in conjunction with the 
%     second one) the direction and orientation of the arrow -- it 
%     will point from the first towards the second.
%
%     The head of the arrow will be located in the second point.  An
%     example of use is    plot([0 2],[0 4]); ARROWH([0 1],[0 2],'b')
%
%     You may also give two vectors of same length > 2.  The routine
%     will then choose two consecutive points from "about" the middle
%     of each vectors.  Useful if you don't want to worry each time
%     about where to put the arrows on a trajectory.  If x1 and x2 
%     are the vectors x1(t) and x2(t), simply put   ARROWH(x1,x2,'r')  
%     to have the right direction indicated in your x2 = f(x1) phase 
%     plane.
%
%                       (x2,y2)
%                       --o
%                       \ |
%                        \|
%
%
%            o
%        (x1,y1)
%
%     Please note that the following optional arguments need -- if 
%     you want to use them -- to be given in that exact order. 
%
%     The COLOR argument is exactely the same as for plots, eg. 'r'; 
%     if not given, blue is default.
%
%     The SIZE argument allows you to tune the size of the arrows.
%
%     The LOCAITON argument only applies, if entire solution vectors 
%     have been passed on.  With this argument you can indicate where
%     abouts inside those vectors to take the two points from.
%     Can be a vector, if you want to have more than one arrow drawn.
%
%     Both arguments, SIZE and LOCATION must be given in percent, 
%     where 100 means standard size, 50 means half size, respectively 
%     100 means end of the vector, 48 means about middle, 0 beginning. 
%     Note that those "locations" correspond to the cardinal position 
%     "inside" the vector, say "index-wise".
%
%     This routine is mainely intended to be used for indicating 
%     "directions" on trajectories -- just give two consecutive times 
%     and the corresponding values of a flux and the proper direction 
%     of the trajectory will be shown on the plot.  You may also pass 
%     on two solution vectors, as described above.
%
%     Note, that the arrow only looks good on the specific axis 
%     settings when the routine was actually started.  If you zoom in 
%     afterwards, the triangle gets distorted.
%
%     Examples of use:
%     x1 = [0:.2:2]; x2 = [0:.2:2]; plot(x1,x2); hold on;
%     arrowh(x1,x2,'r',100,20);      % passing on entire vectors
%     arrowh([0 1],[0 1],'g',300);   % passing on 2 points

%     Author:       Florian Knorn
%     Email:        florian.knorn@student.uni-magdeburg.de
%     Version:      1.10
%     Filedate:     Dec 1st, 2005
%
%     History:      1.10 - Buxfix
%                   1.09 - Possibility to chose *several* locations
%                   1.08 - Possibility to chose location
%                   1.07 - Choice of color
%                   1.06 - Bug fixes
%                   1.00 - Release
%
%     ToDos:        - More specific shaping-possibilities, 
%                   - Keep proportions when zooming or resizing;
%                     has to be done with callback functions, I guess.
%
%     Bugs:         None discovered yet, those discovered were fixed
%
%     Thanks:       I haven't used the function in ages, but the 
%                   last time I modified something in a hurry, I 
%                   introduced a stupid bug, which Kesh Ikum was so
%                   kind to point out ;-) Thanks!
%
%     If you have suggestions for this program, if it doesn't work for
%     your "situation" or if you change something in it - please send 
%     me an email!  This is my very first "public" program and I'd like
%     to improve it where I can -- your help is kindely appreciated! 
%     Thank you!

function arrowh(x,y,clr,ArSize,Where)

%-- errors
if nargin < 2
	error('Please give enough coordinates !');
end
if (length(x) < 2) || (length(y) < 2),
	error('X and Y vectors must each have "length" >= 2 !');
end
if (x(1) == x(2)) && (y(1) == y(2)),
	error('Points superimposed - cannot determine direction !');
end
if nargin < 3
	clr = 'b';
end
if nargin < 4
	ArSize = 100 / 10000; %-- 10000 is an arbitrary value...
else 
	ArSize = ArSize / 10000;
end
if nargin < 5
	Where = 50;
end


%-- determine and remember the hold status, toggle if necessary
if ishold,
	WasHold = 1;
else
	WasHold = 0;
	hold on;
end

%-- start for-loop in case several arrows are wanted
for Loop = 1:length(Where),
	
	%-- if vectors "longer" then 2 are given we're dealing with time series
	if (length(x) == length(y)) && (length(x) > 2),
		j = floor(length(x)*Where(Loop)/100); %-- determine that location
		if j >= length(x), j = length(x) - 1; end
		if j == 0, j = 1; end
		x1 = x(j); x2 = x(j+1); y1 = y(j); y2 = y(j+1);
		
	else %-- just two points given - take those
		x1 = x(1); x2 = x(2); y1 = y(1); y2 = y(2);
	end
	
	
	%-- get axe ranges and their norm
	OriginalAxis = axis;
	Xextend = abs(OriginalAxis(2)-OriginalAxis(1));
	Yextend = abs(OriginalAxis(4)-OriginalAxis(3));
	
	%-- determine angle for the rotation of the triangle
	if x2 == x1, %-- line vertical, no need to calculate slope
		if y2 > y1,
			p = pi/2;
		else
			p= -pi/2;
		end
	else %-- line not vertical, go ahead and calculate slope
		%-- using normed differences (looks better like that)
		m = ( (y2 - y1)/Yextend ) / ( (x2 - x1)/Xextend );
		if x2 > x1, %-- now calculate the resulting angle
			p = atan(m);
		else
			p = atan(m) + pi;
		end
	end
	
	%-- the arrow is made of a transformed "template triangle".
	%-- it will be created, rotated, moved, resized and shifted.
	
	%-- the template triangle (it points "east", centered in (0,0)):
	xt = [1    -sin(pi/6)    -sin(pi/6)];
	yt = [0     cos(pi/6)    -cos(pi/6)];
	
	%-- rotate it by the angle determined above:
    xd=[];
    yd=[];
	for i=1:3,
		xd(i) = cos(p)*xt(i) - sin(p)*yt(i);
		yd(i) = sin(p)*xt(i) + cos(p)*yt(i);
	end
	
	%-- move the triangle so that its "head" lays in (0,0):
	xd = xd - cos(p);
	yd = yd - sin(p);
	
	%-- stretch/deform the triangle to look good on the current axes:
	xd = xd*Xextend*ArSize;
	yd = yd*Yextend*ArSize;
	
	%-- move the triangle to the location where it's needed
	xd = xd + x2;
	yd = yd + y2;
	
	%-- draw the actual triangle
	patch(xd,yd,clr,'EdgeColor',clr);
	
end % Loops

%-- restore original axe ranges and hold status
axis(OriginalAxis);
if ~WasHold,
	hold off
end

%-- work done. good bye.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
www.欧美日韩| 琪琪久久久久日韩精品| 国产成人99久久亚洲综合精品| 91.xcao| 性久久久久久久久久久久| 91小视频免费观看| 久久尤物电影视频在线观看| 奇米精品一区二区三区在线观看一| 国产成人在线色| 国产亚洲婷婷免费| 国产a视频精品免费观看| 国产亚洲一区二区三区| 国产成人免费网站| 中文字幕免费不卡在线| 成人精品在线视频观看| 中文子幕无线码一区tr| 成人黄色电影在线| 一区二区在线观看不卡| 色女孩综合影院| 亚洲一区二区三区美女| 精品视频999| 蜜桃av噜噜一区二区三区小说| 精品国产一区二区三区四区四| 精品一区二区国语对白| 日韩一级黄色大片| 久久99国产精品免费| 久久精品网站免费观看| 精品一区二区三区日韩| 久久久久久久电影| 成人av在线网站| 一区二区三区在线播| 欧美一区二区视频观看视频| 激情都市一区二区| 亚洲图片另类小说| 欧美一区二区在线免费播放| 国产一区二区三区精品欧美日韩一区二区三区 | 国产成人精品一区二区三区网站观看| 2021国产精品久久精品| 91热门视频在线观看| 石原莉奈一区二区三区在线观看| 欧美成人精精品一区二区频| av综合在线播放| 日韩精品电影在线| 国产精品免费久久久久| 欧美日韩情趣电影| 国产精品亚洲综合一区在线观看| 亚洲视频精选在线| www激情久久| 欧美日韩中文国产| 国产高清精品在线| 午夜电影网亚洲视频| 国产精品你懂的| 91浏览器打开| 免费高清不卡av| 欧美国产在线观看| 91精品国产色综合久久不卡蜜臀| 国产成人综合自拍| 天天影视涩香欲综合网| 国产精品女上位| 欧美另类videos死尸| 成人精品在线视频观看| 欧美96一区二区免费视频| 国产精品乱码人人做人人爱| 欧美一区二区三区公司| 91免费观看在线| 国产精品自拍av| 亚洲成人av一区二区| 国产视频在线观看一区二区三区| 在线综合视频播放| 欧美亚洲图片小说| 99精品视频一区二区三区| 韩国中文字幕2020精品| 五月婷婷综合网| 亚洲欧美另类久久久精品| 久久蜜桃av一区二区天堂| 91麻豆精品国产91久久久资源速度 | av在线播放成人| 精品制服美女丁香| 亚洲欧美色一区| 亚洲欧洲精品一区二区精品久久久 | 欧美成人女星排行榜| 欧美日韩国产另类不卡| 色综合久久88色综合天天6| 高清在线不卡av| 丁香天五香天堂综合| 国产乱码精品一区二区三区av| 亚洲国产成人91porn| 久久嫩草精品久久久久| 久久亚洲精品小早川怜子| 日韩一区二区在线观看| 欧美美女一区二区三区| 欧美日韩一级片网站| 欧美吻胸吃奶大尺度电影| 在线免费观看成人短视频| 91丝袜高跟美女视频| 成人aa视频在线观看| 播五月开心婷婷综合| 成人av综合在线| 激情国产一区二区| 国产乱码精品一区二区三区忘忧草 | 色老汉av一区二区三区| 91麻豆产精品久久久久久| 色久综合一二码| 欧美在线播放高清精品| 欧美午夜精品一区二区三区| 精品视频免费看| 欧美一区永久视频免费观看| 欧美日韩久久久| 这里只有精品免费| 久久日韩精品一区二区五区| 久久嫩草精品久久久久| 国产精品久久久久精k8| 中文字幕一区在线观看视频| 亚洲精品中文字幕在线观看| 一区二区三区精品| 日韩国产成人精品| 国产乱国产乱300精品| 国产自产v一区二区三区c| 日本va欧美va瓶| 国产精品一区二区在线观看不卡| 高清国产一区二区| 在线观看一区日韩| 欧美一级黄色录像| 日本一区二区不卡视频| 一区二区三区四区激情| 亚洲一区二区三区四区在线免费观看 | 麻豆91在线播放免费| 国产一区在线观看麻豆| 国产一区二区成人久久免费影院| 久久97超碰色| 色悠悠久久综合| 日韩一二三区不卡| 国产精品污www在线观看| 亚洲一级片在线观看| 久久99精品久久久久久动态图| 成人午夜又粗又硬又大| 6080午夜不卡| 国产精品国产精品国产专区不片| 日韩中文字幕亚洲一区二区va在线 | 久久综合色婷婷| 综合在线观看色| 午夜av区久久| 99精品欧美一区| 日韩精品一区二区三区四区视频| 亚洲视频在线观看一区| 裸体在线国模精品偷拍| 91丨porny丨国产| 久久蜜桃一区二区| 在线观看一区不卡| 91麻豆123| 欧美日韩专区在线| 在线观看一区二区精品视频| 亚洲品质自拍视频网站| 国产一区二区伦理| 欧美成人在线直播| 亚洲高清免费在线| 在线观看亚洲成人| 亚洲素人一区二区| a美女胸又www黄视频久久| 日本一区二区成人在线| 国产成人av影院| 国产女人水真多18毛片18精品视频| 久久99久久精品| 久久久久久麻豆| 国产成人在线观看| 欧美午夜精品久久久久久孕妇| 国产精品每日更新在线播放网址 | 欧美午夜在线一二页| 亚洲一区二区在线视频| 欧美在线视频日韩| 亚洲影院理伦片| 日本久久一区二区三区| 亚洲人成网站影音先锋播放| 风间由美一区二区三区在线观看 | av不卡在线播放| 国产精品久久久久久久久免费丝袜| 国产91对白在线观看九色| 国产欧美一区二区精品性色超碰 | 精品久久国产老人久久综合| 国产在线不卡视频| 中文字幕久久午夜不卡| 成人av在线影院| 一区二区三区在线观看欧美| 欧美性大战久久久久久久蜜臀| 亚洲午夜久久久久| 欧美一区二区三区四区在线观看| 另类专区欧美蜜桃臀第一页| 亚洲精品一区二区三区香蕉| 国v精品久久久网| 亚洲精品久久久蜜桃| 欧美日韩国产在线播放网站| 蜜臀a∨国产成人精品| 欧美精品一区二区三区在线播放| 国产91露脸合集magnet| 亚洲九九爱视频| 日韩三级视频在线看| www.99精品| 日韩高清不卡一区二区三区| 久久久久亚洲蜜桃| 国产精品888|