代码搜索:Spectrum
找到约 5,196 项符合「Spectrum」的源代码
代码结果 5,196
www.eeworm.com/read/432382/8607402
asv fouriertest.asv
% Simple fourier filter coding for simulated time-series signal,
% without the interactive sliders. Original signal (blue)
% and filtered signal (red) are displayed superimposed in the top
% windo
www.eeworm.com/read/432382/8607430
asv fouriertimetest.asv
% Simple fourier filter coding for simulated time-based signal, where
% x = time in sec, millisec, or microsec. Original signal (blue)
% and filtered signal (red) are displayed superimposed in the t
www.eeworm.com/read/388457/8607984
m p3_5.m
% Program P3_5
% Modulation Property of DTFT
clf;
w = -pi:2*pi/255:pi;
x1 = [1 3 5 7 9 11 13 15 17];
x2 = [1 -1 1 -1 1 -1 1 -1 1];
y = x1.*x2;
h1 = freqz(x1, 1, w);
h2 = freqz(x2, 1, w);
h3 =
www.eeworm.com/read/388457/8608002
m p3_4.m
% Program P3_4
% Convolution Property of DTFT
clf;
w = -pi:2*pi/255:pi;
x1 = [1 3 5 7 9 11 13 15 17];
x2 = [1 -2 3 -2 1];
y = conv(x1,x2);
h1 = freqz(x1, 1, w);
h2 = freqz(x2, 1, w);
hp = h1.
www.eeworm.com/read/237367/8626704
m exam7_10.m
%
% Fig7_10.m - M-file for generating Figure 7-10
%
L = 128;
n = [0:L-1];
x1 = sin(2*pi*30.5*n/128); % generate sinewave of 30.5 Hz
X1 = abs(fft(x1)); % magnitude spectrum
beta = 8.96;
www.eeworm.com/read/387887/8649428
m p3_5.m
% Program P3_5
% Modulation Property of DTFT
clf;
w = -pi:2*pi/255:pi;
x1 = [1 3 5 7 9 11 13 15 17];
x2 = [1 -1 1 -1 1 -1 1 -1 1];
y = x1.*x2;
h1 = freqz(x1, 1, w);
h2 = freqz(x2, 1, w);
h3 =
www.eeworm.com/read/387887/8649443
m p3_4.m
% Program P3_4
% Convolution Property of DTFT
clf;
w = -pi:2*pi/255:pi;
x1 = [1 3 5 7 9 11 13 15 17];
x2 = [1 -2 3 -2 1];
y = conv(x1,x2);
h1 = freqz(x1, 1, w);
h2 = freqz(x2, 1, w);
hp = h1.
www.eeworm.com/read/431751/8656087
octave example1.octave
#!/usr/bin/octave
#
# script to read window from file and plot transformed result
wfile = fopen("example1.samples.txt", "r", "native");
[samples, samplecount] = fscanf(wfile, "%g");
fclose(wfile);
w
www.eeworm.com/read/287843/8665243
m ip_02_07.m
% MATLAB script for Illustrative Problem 2.7.
clear
echo on
N=256; % number of samples
deltaf=0.1; % frequency separation
f=[0:deltaf:(N/2)*deltaf, -(N/2-1)*deltaf:de
www.eeworm.com/read/431603/8666088
m ip_02_07.m
% MATLAB script for Illustrative Problem 2.7.
echo on
N=256; % number of samples
deltaf=0.1; % frequency separation
f=[0:deltaf:(N/2)*deltaf, -(N/2-1)*deltaf:deltaf:-d