File:Fourier transform, Fourier series, DTFT, DFT.gif

页面内容不支持其他语言。
這個文件來自維基共享資源
维基百科,自由的百科全书

原始文件(1,128 × 672像素,文件大小:59 KB,MIME类型:image/gif


摘要

描述
English: A Fourier transform and 3 variations caused by periodic sampling (at interval T) and/or periodic summation (at interval P) of the underlying time-domain function.
日期
来源 自己的作品
作者 Bob K
授权
(二次使用本文件)
我,本作品著作权人,特此采用以下许可协议发表本作品:
Creative Commons CC-Zero 本作品采用知识共享CC0 1.0 通用公有领域贡献许可协议授权。
采用本宣告发表本作品的人,已在法律允许的范围内,通过在全世界放弃其对本作品拥有的著作权法规定的所有权利(包括所有相关权利),将本作品贡献至公有领域。您可以复制、修改、传播和表演本作品,将其用于商业目的,无需要求授权。

其他版本 File:Variations_of_the_Fourier_transform.tif, 此文件衍生的作品:  Fourier transform, Fourier series, DTFT, DFT.svg,
File:Fourier transform, Fourier series, DTFT, DFT.svg是此文件的矢量版本。 如果此文件质量不低于原点阵图,就应该将这个GIF格式文件替换为此文件。

File:Fourier transform, Fourier series, DTFT, DFT.gif → File:Fourier transform, Fourier series, DTFT, DFT.svg

更多信息请参阅Help:SVG/zh

其他语言
Alemannisch  Bahasa Indonesia  Bahasa Melayu  British English  català  čeština  dansk  Deutsch  eesti  English  español  Esperanto  euskara  français  Frysk  galego  hrvatski  Ido  italiano  lietuvių  magyar  Nederlands  norsk bokmål  norsk nynorsk  occitan  Plattdüütsch  polski  português  português do Brasil  română  Scots  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Türkçe  vèneto  Ελληνικά  беларуская (тарашкевіца)  български  македонски  нохчийн  русский  српски / srpski  татарча/tatarça  українська  ქართული  հայերեն  বাংলা  தமிழ்  മലയാളം  ไทย  한국어  日本語  简体中文  繁體中文  עברית  العربية  فارسی  +/−
新SVG图片

GIF开发
InfoField
 
本GIF 位图使用LibreOffice创作。
Octave/gnuplot source
InfoField
click to expand

This graphic was created with the help of the following Octave script:

pkg load signal
graphics_toolkit gnuplot
%=======================================================
% Consider the Gaussian function e^{-B (nT)^2}, where B is proportional to bandwidth.
  T = 1;
% Choose a relatively small bandwidth, so that one cycle of the DTFT approximates a true Fourier transform.
  B = 0.1;
  N = 1024;
  t = T*(-N/2 : N/2-1);                         % 1xN
  y = exp(-B*t.^2);                             % 1xN
% The DTFT has a periodicity of 1/T=1.  Sample it at intervals of 1/8N, and compute one full cycle.
% Y = fftshift(abs(fft([y zeros(1,7*N)])));
% Or do it this way, for comparison with the sequel:
  X = [-4*N:4*N-1];                             % 1x8N
  xlimits = [min(X) max(X)];
  f = X/(8*N);
  W = exp(-j*2*pi * t' * f);                    % Nx1 × 1x8N = Nx8N
  Y = abs(y * W);                               % 1xN × Nx8N = 1x8N
% Y(1)  = SUM(n=1,2,...,N): { e^(-B × t(n)^2) × e^(-j2π ×-4096/8N × t(n)) }
% Y(2)  = SUM(n=1,2,...,N): { e^(-B × t(n)^2) × e^(-j2π ×-4095/8N × t(n)) }
% Y(8N) = SUM(n=1,2,...,N): { e^(-B × t(n)^2) × e^(-j2π × 4095/8N × t(n)) }
  Y = Y/max(Y);

% Resample the function to reduce the DTFT periodicity from 1 to 3/8.
  T = 8/3;
  t = T*(-N/2 : N/2-1);                         % 1xN
  z = exp(-B*t.^2);                             % 1xN
% Resample the DTFT.
  W = exp(-j*2*pi * t' * f);                    % Nx1 × 1x8N = Nx8N
  Z = abs(z * W);                               % 1xN × Nx8N = 1x8N
  Z = Z/max(Z);
%=======================================================
hfig = figure("position", [1 1 1200 900]);

x1 = .08;                   % left margin for annotation
x2 = .02;                   % right margin
dx = .05;                   % whitespace between plots
y1 = .08;                   % bottom margin
y2 = .08;                   % top margin
dy = .12;                   % vertical space between rows
height = (1-y1-y2-dy)/2;    % space allocated for each of 2 rows
width  = (1-x1-dx-x2)/2;    % space allocated for each of 2 columns
x_origin1 = x1;
y_origin1 = 1 -y2 -height;  % position of top row
y_origin2 = y_origin1 -dy -height;
x_origin2 = x_origin1 +dx +width;
%=======================================================
% Plot the Fourier transform, S(f)

subplot("position",[x_origin1 y_origin1 width height])
area(X, Y, "FaceColor", [0 .4 .6])
xlim(xlimits);
ylim([0 1.05]);
set(gca,"XTick", [0])
set(gca,"YTick", [])
ylabel("amplitude")
%xlabel("frequency")
%=======================================================
% Plot the DTFT

subplot("position",[x_origin1 y_origin2 width height])
area(X, Z, "FaceColor", [0 .4 .6])
xlim(xlimits);
ylim([0 1.05]);
set(gca,"XTick", [0])
set(gca,"YTick", [])
ylabel("amplitude")
xlabel("frequency")
%=======================================================
% Sample S(f) to portray Fourier series coefficients

subplot("position",[x_origin2 y_origin1 width height])
stem(X(1:128:end), Y(1:128:end), "-", "Color",[0 .4 .6]);
set(findobj("Type","line"),"Marker","none")
xlim(xlimits);
ylim([0 1.05]);
set(gca,"XTick", [0])
set(gca,"YTick", [])
ylabel("amplitude")
%xlabel("frequency")
box on
%=======================================================
% Sample the DTFT to portray a DFT

FFT_indices = [32:55]*128+1;
DFT_indices = [0:31 56:63]*128+1;
subplot("position",[x_origin2 y_origin2 width height])
stem(X(DFT_indices), Z(DFT_indices), "-", "Color",[0 .4 .6]);
hold on
stem(X(FFT_indices), Z(FFT_indices), "-", "Color","red");
set(findobj("Type","line"),"Marker","none")
xlim(xlimits);
ylim([0 1.05]);
set(gca,"XTick", [0])
set(gca,"YTick", [])
ylabel("amplitude")
xlabel("frequency")
box on

说明

添加一行文字以描述该文件所表现的内容
A Fourier transform and 3 variations caused by periodic sampling (at interval T) and/or periodic summation (at interval P) of the underlying time-domain function.

此文件中描述的项目

描繪內容

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2019年8月23日 (五) 14:182019年8月23日 (五) 14:18版本的缩略图1,128 × 672(59 KB)Bob Kre-color the portion of the DFT that is computed by the FFT
2014年8月2日 (六) 13:432014年8月2日 (六) 13:43版本的缩略图1,348 × 856(71 KB)Bob KUser created page with UploadWizard

以下2个页面使用本文件:

全域文件用途

以下其他wiki使用此文件: