代码搜索:Sampling
找到约 3,969 项符合「Sampling」的源代码
代码结果 3,969
www.eeworm.com/read/301474/3839507
m p10_1.m
% Program 10_1
% Illustration of Up-Sampling by an Integer Factor
%
clf;
n = 0:50;
x = sin(2*pi*0.12*n);
y = zeros(1, 3*length(x));
y([1: 3: length(y)]) = x;
subplot(2,1,1)
stem(n,x);
title('Input Seq
www.eeworm.com/read/301474/3839575
m p10_2.m
% Program P10_2
% Illustration of Down-Sampling by an Integer Factor
%
clf;
n = 0: 49;
m = 0: 50*3 - 1;
x = sin(2*pi*0.042*m);
y = x([1 : 3 : length(x)]);
subplot(2,1,1)
stem(n, x(1:50)); axi
www.eeworm.com/read/301474/3839651
m p10_5.m
% Program P10_5
% Illustration of Decimation Process
%
clf;
M = input('Down-sampling factor = ');
n = 0:99;
x = sin(2*pi*0.043*n) + sin(2*pi*0.031*n);
y = decimate(x,M,'fir');
subplot(2,1,1);
stem(n,x
www.eeworm.com/read/301474/3839654
m p10_1.m
% Program 10_1
% Illustration of Up-Sampling by an Integer Factor
%
clf;
n = 0:50;
x = sin(2*pi*0.12*n);
y = zeros(1, 3*length(x));
y([1: 3: length(y)]) = x;
subplot(2,1,1)
stem(n,x);
title('Input Seq
www.eeworm.com/read/299343/3853401
m chap1_6.m
%Discrete PID control for continuous plant
clear all;
close all;
ts=0.001; %Sampling time
xk=zeros(2,1);
e_1=0;
u_1=0;
for k=1:1:2000
time(k) = k*ts;
rin(k)=0.50*sin(1*2*pi*k*ts);
www.eeworm.com/read/449781/1673926
m chap1_2.m
%Discrete PID control for continuous plant
clear all;
close all;
ts=0.001; %Sampling time
xk=zeros(2,1);
e_1=0;
u_1=0;
for k=1:1:2000
time(k) = k*ts;
rin(k)=0.50*sin(1*2*pi*k*ts);
www.eeworm.com/read/448886/1683412
m p10_5.m
% Program P10_5
% Illustration of Decimation Process
%
clf;
M = input('Down-sampling factor = ');
n = 0:99;
x = sin(2*pi*0.043*n) + sin(2*pi*0.031*n);
y = decimate(x,M,'fir');
subplot(2,1,1);
stem(n,x
www.eeworm.com/read/448886/1683415
m p10_1.m
% Program 10_1
% Illustration of Up-Sampling by an Integer Factor
%
clf;
n = 0:50;
x = sin(2*pi*0.12*n);
y = zeros(1, 3*length(x));
y([1: 3: length(y)]) = x;
subplot(2,1,1)
stem(n,x);
title('Input Seq
www.eeworm.com/read/448886/1683483
m p10_2.m
% Program P10_2
% Illustration of Down-Sampling by an Integer Factor
%
clf;
n = 0: 49;
m = 0: 50*3 - 1;
x = sin(2*pi*0.042*m);
y = x([1 : 3 : length(x)]);
subplot(2,1,1)
stem(n, x(1:50)); axi
www.eeworm.com/read/448886/1683559
m p10_5.m
% Program P10_5
% Illustration of Decimation Process
%
clf;
M = input('Down-sampling factor = ');
n = 0:99;
x = sin(2*pi*0.043*n) + sin(2*pi*0.031*n);
y = decimate(x,M,'fir');
subplot(2,1,1);
stem(n,x