代码搜索:Sampling
找到约 3,969 项符合「Sampling」的源代码
代码结果 3,969
www.eeworm.com/read/303435/3812876
unif2
#! /bin/sh
# shell for uniformly sampling velocity from a layered model
set -v
nz=51 dz=50 fz=.0 labelz="Depth (m)"
nx=71 dx=50 fx=0.0 labelx="Distance (m)"
ninf=0 npmax=201
unif2 vfile n
www.eeworm.com/read/303435/3812891
unif2
#! /bin/sh
# shell for uniformly sampling velocity from a layered model
set -v
nz=51 dz=50 fz=.0 labelz="Depth (m)"
nx=81 dx=50 fx=0.0 labelx="Distance (m)"
ninf=0 npmax=201
unif2 vfile n
www.eeworm.com/read/301474/3839506
m p10_3.m
% Program P10_3
% Effect of Up-sampling in the Frequency Domain
% Use fir2 to create a bandlimited input sequence
freq = [0 0.45 0.5 1];
mag = [0 1 0 0];
x = fir2(99, freq, mag);
% Evaluate and plot t
www.eeworm.com/read/301474/3839551
m p5_1.m
% Program P5_1
% Illustration of the Sampling Process
% in the Time-Domain
clf;
t = 0:0.0005:1;
f = 13;
xa = cos(2*pi*f*t);
subplot(2,1,1)
plot(t,xa);grid
xlabel('Time, msec');ylabel('Amplitude');
ti
www.eeworm.com/read/301474/3839577
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);
www.eeworm.com/read/301474/3839653
m p10_3.m
% Program P10_3
% Effect of Up-sampling in the Frequency Domain
% Use fir2 to create a bandlimited input sequence
freq = [0 0.45 0.5 1];
mag = [0 1 0 0];
x = fir2(99, freq, mag);
% Evaluate and plot t
www.eeworm.com/read/301474/3839698
m p5_1.m
% Program P5_1
% Illustration of the Sampling Process
% in the Time-Domain
clf;
t = 0:0.0005:1;
f = 13;
xa = cos(2*pi*f*t);
subplot(2,1,1)
plot(t,xa);grid
xlabel('Time, msec');ylabel('Amplitude');
ti
www.eeworm.com/read/299916/3849591
m loweq.m
function xl=loweq(x,ts,f0)
% xl=loweq(x,ts,f0)
%LOWEQ Returns the lowpass equivalent of the signal x.
% f0 is the center frequency.
% ts is the sampling interval.
%
t=[0:ts:ts*(length(x)-1
www.eeworm.com/read/299916/3849627
m loweq.m
function xl=loweq(x,ts,f0)
% xl=loweq(x,ts,f0)
%LOWEQ Returns the lowpass equivalent of the signal x.
% f0 is the center frequency.
% ts is the sampling interval.
%
t=[0:ts:ts*(length(x)-1
www.eeworm.com/read/448886/1683414
m p10_3.m
% Program P10_3
% Effect of Up-sampling in the Frequency Domain
% Use fir2 to create a bandlimited input sequence
freq = [0 0.45 0.5 1];
mag = [0 1 0 0];
x = fir2(99, freq, mag);
% Evaluate and plot t