파일:Kaiser-Window-Spectra.svg
testwiki
둘러보기로 이동
검색으로 이동
원본 파일 (SVG 파일, 실제 크기 700 × 525 픽셀, 파일 크기: 111 KB)
이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다. 해당 파일에 대한 설명이 아래에 나와 있습니다.
파일 설명
| 설명Kaiser-Window-Spectra.svg |
English: Spectra of Kaiser windows for different parametric values. Note that the downward spikes in the side lobes should actually spike all they way to -infinity, since at these points the amplitude goes to zero. The fact that the minima are finite is an artifact of the finite plotting resolution. |
|||
| 날짜 | ||||
| 출처 | 자작 | |||
| 저자 | RetoGalli | |||
| 저작권 (이 파일을 인용하기) |
RetoGalli은(는) 아래 작품의 저작권자로서, 해당 저작물을 다음과 같은 라이선스로 배포합니다:
|
|||
| SVG 발전 InfoField |
Source code
This graphic was created by the following Octave script:
pkg load signal
graphics_toolkit gnuplot
N = 2^17;
n = 0:N-1;
P = 15; % Maximum bin index drawn
dr = 100; % dynamic range of plot
M = 32; % Fourier transform size as multiple of window length
k = ([1:M*N]-1-M*N/2)/M;
k2 = [-P : 1/M : P];
% Uncomment warning() if a text() call includes ("fontname", "Symbol")
% warning("off", "Octave:missing-glyph");
h = figure;
hold on
box on
set(gca,'FontSize',10)
beta=4; alpha = beta/pi
w = besseli(0,beta*sqrt(1-(2*n/(N-1) -1).^2))/besseli(0,beta);
H = abs(fft([w zeros(1,(M-1)*N)]));
H = fftshift(H);
H = H/max(H);
H = 20*log10(H);
H = max(-dr,H);
H2 = interp1 (k, H, k2);
plot(k2, H2, "color", "blue", "linewidth", 2)
xlim([-P P])
ylim([-dr 6])
set(gca,"YTick", [0 : -10 : -dr])
grid("on")
ylabel("decibels")
xlabel("DFT bins")
%text(4.26, -36, '\pi\alpha=4; \alpha=1.27', "color", "blue", "fontsize", 12)
%But let's do it the instructive way:
str = ['\pi\alpha=' num2str(beta,'%1i') '; \alpha=' num2str(beta/pi,'%4.2f')];
text(4.26, -36, str, "color", "blue", "fontsize", 12)
beta=8; alpha = beta/pi
w = besseli(0,beta*sqrt(1-(2*n/(N-1) -1).^2))/besseli(0,beta);
H = abs(fft([w zeros(1,(M-1)*N)]));
H = fftshift(H);
H = H/max(H);
H = 20*log10(H);
H = max(-dr,H);
H2 = interp1 (k, H, k2);
plot(k2, H2, "color", "red", "linewidth", 2)
%text(2.5, -19.5, '\pi\alpha=8; \alpha=2.55', "color", "red", "fontsize", 12)
%But let's do it the less "manual" way:
str = ['\pi\alpha=' num2str(beta,'%1i') '; \alpha=' num2str(beta/pi,'%4.2f')];
text(2.5, -19.5, str, "color", "red", "fontsize", 12)
title("Fourier transforms of two Kaiser windows")
% The following print() converts plain-text Greek characters in text() strings into Symbol font.
% Therefore it isn't necessary to include ("fontname", "Symbol") in the text() calls above,
% and doing so causes warnings, some of which can be suppressed by warning().
print(h,"-dsvg","-color",'C:\Users\BobK\Kaiser-Window-Spectra.svg')
설명
이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다
이 파일에 묘사된 항목
다음을 묘사함
위키데이터 항목 없는 어떤 값
파일 역사
날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.
| 날짜/시간 | 섬네일 | 크기 | 사용자 | 설명 | |
|---|---|---|---|---|---|
| 현재 | 2019년 3월 22일 (금) 22:25 | 700 × 525 (111 KB) | wikimediacommons>Bob K | Use definition of α from Window function article. |
이 파일을 사용하는 문서
이 파일을 사용하는 문서가 없습니다.