Fichier:Frequency response of 3-term boxcar filter.gif

Fichier d’origine(640 × 643 pixels, taille du fichier : 17 kio, type MIME : image/gif)

Ce fichier et sa description proviennent de Wikimedia Commons.

Description

Description
English: Frequency response (discrete time Fourier transform) of a 3-tap boxcar filter. To produce these plots, samples of the DTFT are obtained by computing the DFT of the zero-filled impulse response. Alternatively, one can directly sample the closed form of the DTFT:   and plot the magnitude and angle of the samples. (See File:MA2Amp_C.svg)
Note: At the two frequencies where the magnitude goes to zero, there are phase discontinuities of π radians. They are not artifacts of phase wrapping. Rather, they indicate a sign inversion... multiplication by -1. Since that is equivalent to an amplitude modification, it does not affect the filter's property of phase linearity. An illustration of that can be viewed at File:Amplitude & phase vs frequency for a 3-term boxcar filter.gif.
Date
Source Travail personnel
Auteur Bob K
Autorisation
(Réutilisation de ce fichier)
Moi, en tant que détenteur des droits d’auteur sur cette œuvre, je la publie sous la licence suivante :
Creative Commons CC-Zero Ce fichier est disponible selon les termes de la licence Creative Commons CC0 Don universel au domaine public.
La personne qui a associé une œuvre avec cet acte l’a placée dans le domaine public en renonçant mondialement à tous ses droits sur cette œuvre en vertu des lois relatives au droit d’auteur, ainsi qu’à tous les droits juridiques connexes et voisins qu’elle possédait sur l’œuvre, sans autre limite que celles imposées par la loi. Vous pouvez copier, modifier, distribuer et utiliser cette œuvre, y compris à des fins commerciales, sans qu’il soit nécessaire d’en demander la permission.

Autres versions Œuvres dérivées de ce fichier :  Frequency response of 3-term boxcar filter.svg,
Une version vectorielle de cette image existe, dans le format « SVG ». Si elle n’est pas inférieure, elle devrait être utilisée à la place de la présente version pour des affichages en plus grandes dimensions ou nécessitant une meilleure résolution.

File:Frequency response of 3-term boxcar filter.gif → File:Frequency response of 3-term boxcar filter.svg

Pour plus d’informations sur les images vectorielles, consultez la page de transition de Commons vers le format SVG.
Voir aussi les informations à propos de la manière dont le logiciel MediaWiki gère les images au format SVG.

Dans les autres langues
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  українська  ქართული  հայերեն  বাংলা  தமிழ்  മലയാളം  ไทย  한국어  日本語  简体中文  繁體中文  עברית  العربية  فارسی  +/−
Nouvelle image SVG

GIF information
InfoField
 
Cette GIF image matricielle a été créée avec GNU Octave
Octave/gnuplot source
InfoField
click to expand

This script was derived from the original in order to address some GNUplot bugs: a missing title and two missing axis labels. And to add an Octave print function, which creates an SVG file. Alternatively, the gnuplot screen image has an export function that produces an SVG file, but the π characters aren't as professional-looking.

graphics_toolkit gnuplot
clear all; close all; clc
  
hfig = figure("position",[100 100 509 509]);

x1 = .12;               % left margin for name of Y-variable
x2 = .02;               % right margin
y1 = .10;               % bottom margin for ticks
y2 = .08;               % top margin for title
dy = .08;               % vertical space between rows

width = 1-x1-x2;
height= (1-y1-y2-dy)/2; % space allocated for each of 2 rows

x_origin = x1;
y_origin = 1;           % start at top of graph area
%=======================================================
  N= 256;
  h = [1 1 1]/3;              % impulse response
  H = fftshift(fft(h,N));     % samples of DTFT
  abscissa = (-N/2:N/2-1)*2*pi/N;  % normalized frequency
%=======================================================
  y_origin = y_origin -y2 -height;        % position of top row
  subplot("position",[x_origin y_origin width height])
  plot(abscissa, abs(H));
  xlim([-pi pi])
  ylim([0 1.2])
  set(gca, "XTick", [-pi -2*pi/3 0 2*pi/3 pi])
  set(gca, "YTick", [0 .2 .4 .6 .8 1])
  grid("on")

  ylabel("Magnitude")
% set(gca, "ticklabelinterpreter", "tex")	% tex is the default
  set(gca, "XTickLabel", ['-\pi'; '-2\pi/3'; '0'; '2\pi/3'; '\pi';])
  set(gca, "YTickLabel", ['0'; '.2'; '.4'; '.6'; '.8'; '1';])
  title("Frequency response of 3-term boxcar filter", "fontsize", 12)
%=======================================================
  y_origin = y_origin -dy -height;
  subplot("position",[x_origin y_origin width height])
  plot(abscissa, angle(H));
  xlim([-pi pi])
  ylim([-pi pi])
  set(gca, "XTick", [-pi -2*pi/3 0 2*pi/3 pi])
  set(gca, "YTick", [-pi -2 -1 0 1 2 pi])
  grid("on")

  xlabel('\leftarrow Frequency (\omega) (radians/sample) \rightarrow')
  ylabel("Phase (radians)")
% set(gca, "ticklabelinterpreter", "tex")	% tex is the default
  set(gca, "XTickLabel", ['-\pi'; '-2\pi/3'; '0'; '2\pi/3'; '\pi';])
  set(gca, "YTickLabel", ['-\pi'; '-2'; '-1'; '0'; '1'; '2'; '\pi';])

% The print function results in nicer-looking "pi" symbols
% than the export function on the GNUPlot figure toolbar.
print(hfig,"-dsvg", "-S509,509","-color", ...
'C:\Users\BobK\Frequency response of 3-term boxcar filter.svg')

Légendes

Ajoutez en une ligne la description de ce que représente ce fichier

Éléments décrits dans ce fichier

dépeint

Historique du fichier

Cliquer sur une date et heure pour voir le fichier tel qu'il était à ce moment-là.

Date et heureVignetteDimensionsUtilisateurCommentaire
actuel2 juillet 2019 à 23:37Vignette pour la version du 2 juillet 2019 à 23:37640 × 643 (17 kio)Bob KAdd a title, and move x-axis label to the bottom. Add missing y-axis label.
15 avril 2014 à 15:30Vignette pour la version du 15 avril 2014 à 15:30505 × 509 (9 kio)Bob KChange frequency domain from [][-π,π).]
7 avril 2014 à 16:04Vignette pour la version du 7 avril 2014 à 16:04526 × 524 (9 kio)Bob Kchange dimensions; add grid lines
7 avril 2014 à 02:40Vignette pour la version du 7 avril 2014 à 02:40577 × 340 (7 kio)Bob KUser created page with UploadWizard

La page suivante utilise ce fichier :