代码搜索结果
找到约 2,116 项符合
Y 的代码
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
run.m
[y,xt] = read_sparse('../heart_scale');
model=train(y, xt)
[l,a]=predict(y, xt, model);
oplot0.dat
Y
+ *
* + *
kkspt0.dat
y( 0)=5.40000e+01 yy( 0)=5.68429e+01
y( 1)=1.45000e+02 yy( 1)=1.33629e+02
y( 2)=2.27000e+02 yy( 2)=2.44057e+02
y( 3)=3.59000e+02 yy( 3)=3.47943e+02
y( 4)=4.01000e+02 yy( 4)=3.93457e+02
gdfte0.dat
y( 0)=0.00000e+00
y( 1)=1.86090e-02
y( 2)=3.25359e-02
y( 3)=4.20480e-02
y( 4)=4.73684e-02
y( 5)=4.86842e-02
y( 6)=4.61538e-02
y( 7)=3.99123e-02
y( 8)=3.00752e-02
y( 9)=1.67423e-02
y(10)=0.
oplot0.dat
Y
+ *
* + *
kkspt0.dat
y( 0)=5.40000e+01 yy( 0)=5.68429e+01
y( 1)=1.45000e+02 yy( 1)=1.33629e+02
y( 2)=2.27000e+02 yy( 2)=2.44057e+02
y( 3)=3.59000e+02 yy( 3)=3.47943e+02
y( 4)=4.01000e+02 yy( 4)=3.93457e+02
gdfte0.dat
y( 0)=0.00000e+00
y( 1)=1.86090e-02
y( 2)=3.25359e-02
y( 3)=4.20480e-02
y( 4)=4.73684e-02
y( 5)=4.86842e-02
y( 6)=4.61538e-02
y( 7)=3.99123e-02
y( 8)=3.00752e-02
y( 9)=1.67423e-02
y(10)=0.