代码搜索结果

找到约 2,116 项符合 Y 的代码

6-13.m

Y=[1 2 5 3.3 0.9 5.2]; names={'一队' '二队' '三队' '四队' '五队' '六队'}; X=[1 2 3 4 5 6]; subplot(211) pareto(Y,names) %x轴的下标标识为names title '排列图示例一' subplot(212) pareto(Y,X) t

6-5.m

Y = [1 2 3 4 5 6 7; 1 2 3 4 3 2 1; 7 6 5 4 3 2 1]; subplot(3,2,1) bar3(Y,'detached') title('Detached') subplot(3,2,2) bar3(Y,0.25,'detached') title('Width = 0.25') subplot(3,2,3)

6-4.m

Y = round(rand(5,3)*10); %随机函数产生5*3的数组,对产生的数据取整 subplot(2,2,1) bar(Y,'group') title 'Group' subplot(2,2,2) bar(Y,'stack') %堆型二维垂直条形图 title 'Stack' subplot(2,2,3)

6-1.m

Y = [ 1, 5, 3; 3, 2, 7; 1, 5, 3; 2, 6, 1]; area(Y) grid on set(gca,'Layer','top') title 'Stacked Area Plot'

6-14.m

y = linspace(0,2*pi,10); %数据区间[0 2*pi]平均生成10个数 stem(cos(y),'fill','-.'); %对离散图的末端进行了填充 title('二维柄状图示例');

10-13.m

y = linspace(-1,1,100); % 产生信号 thr = 0.4; % 设置阈值 ythard = wthresh(y,'h',thr); % 执行硬阈值化 ytsoft = wthresh(y,'s',thr); % 执行软阈值化 subplot(131) plot(y,y) title('原信号') subplot(132) plot(y,ythar

example6_12.m

y=linspace(.1,1,100); thr=0.28; ythard=wthresh(y,'h',thr); ytsoft=wthresh(y,'s',thr); subplot(2,2,1); plot(y); title('原始信号'); subplot(2,2,3); plot(ythard); title('硬阈值信号'); s

example6_13.m

y=randn(1,1000); thr1=thselect(y,'rigrsure') thr2=thselect(y,'sqtwolog') thr3=thselect(y,'heursure') thr4=thselect(y,'minimaxi')