代码搜索:Sampling
找到约 3,969 项符合「Sampling」的源代码
代码结果 3,969
www.eeworm.com/read/168454/9912377
m prog8b4.m
%
% m-file for Example 8B.4 (Program 8B.4, p569)
% Program name: prog8b4.m
%
Fs=8000; % Sampling frequency
Ap=3;
As=20;
wp=500/4000;
ws=2000/4000;
[N, wc]=buttord(wp, ws, Ap, As);
www.eeworm.com/read/168454/9912417
m prog8b7.m
%
% m-file for Example 8B.7 (Program 8B.7, p574)
% Program name: prog8b7.m
% Band stop filter
%
Fs=1000; % Sampling frequency
Ap=3;
As=20;
Wp=[50/500, 450/500]; % Band edge fre
www.eeworm.com/read/168454/9912446
m prog8b6.m
%
% m-file for Example 8B.6 (Program 8B.6, p572)
% Program name: prog8b6.m
% Band pass filter
%
Fs=1000; % Sampling frequency
Ap=3;
As=20;
Wp=[200/500, 300/500]; % Band edge fre
www.eeworm.com/read/163199/10171216
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/163160/10172892
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/424856/10406291
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/160929/10469431
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/160929/10469443
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/160929/10469769
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/160929/10470185
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