קובץ:8-point Hann windows.png
8-point_Hann_windows.png (620 × 392 פיקסלים, גודל הקובץ: 41 ק"ב, סוג MIME: image/png)
זהו קובץ שמקורו במיזם ויקישיתוף. תיאורו בדף תיאור הקובץ המקורי (בעברית) מוצג למטה. |
תקציר
תיאור8-point Hann windows.png |
English: We illustrate two different ways to generate Hann window functions for spectral analysis applications. MATLAB calls them "symmetric" and "periodic". The latter is also called "DFT Even" in the classic Frederic Harris paper. |
|||||
תאריך יצירה | ||||||
מקור | נוצר על־ידי מעלה היצירה | |||||
יוצר | Bob K | |||||
אישורים והיתרים (שימוש חוזר בקובץ זה) |
אני, בעל זכויות היוצרים על עבודה זו, מפרסם בזאת את העבודה תחת הרישיון הבא:
|
|||||
גרסאות אחרות |
Derivative works of this file: 8-point Hann windows.svg,
|
|||||
PNGהתפתחות InfoField | Octave עם נוצרה ה PNG תמונת מפת סיביות |
|||||
Octave/gnuplot source InfoField | click to expand
This graphic was created by the following Octave script: pkg load signal
graphics_toolkit gnuplot
clear all; close all; clc
M=5600; % big number, divisible by 7 and 8
% Generate M+1 samples of a Hann window
window = hann(M+1);
N=8; % actual window size, in "hops"
% Sample the window.
% Scale the abscissa. 0:M samples --> 0:7 "hops", and take 8 symmetrical hops, from 0 to 7
sam_per_hop_7 = M/7;
symmetric = window(1+(0:7)*sam_per_hop_7);
% Scale the abscissa. 0:M samples --> 0:8 "hops", and take 8 asymmetrical hops, from 0 to 7
sam_per_hop_8 = M/8;
periodic = window(1+(0:7)*sam_per_hop_8);
% Compare equivalent noise bandwidths (info only)
ENBW_symmetric = N*sum(symmetric.^2)/sum(symmetric)^2 %
ENBW_periodic = N*sum(periodic.^2) /sum(periodic)^2 %
%Replace above with the equivalent formulaic versions
%This step just proves that formulas match window() array.
symmetric = .5*(1-cos(2*pi*(0:7)/7));
periodic = .5*(1-cos(2*pi*(0:7)/8)); % aka "DFT Even"
%Compare equivalent noise bandwidths (info only)
ENBW_symmetric = N*sum(symmetric.^2)/sum(symmetric)^2 % 1.7143
ENBW_periodic = N*sum(periodic.^2) /sum(periodic)^2 % 1.5
%Plot the coefficients as dots
figure
plot(0:7, symmetric, 'color', 'red', '.', 'MarkerSize', 10)
box off % no border around plot
hold on % same axes for next 3 plots
plot(0:7, periodic, 'color', 'blue', '.', 'MarkerSize', 10)
% Connect the dots
hops = (0:M)/sam_per_hop_8;
plot(hops, window, "color","blue") % periodic
hops = (0:M)/sam_per_hop_7;
plot(hops, window, "color","red") % symmetric
xlim([0 8])
set(gca,'FontSize',14)
set(gca, "yaxislocation", "origin")
set(gca, 'xgrid', 'on')
set(gca, 'ygrid', 'on')
set(gca, 'ytick', [0:.25:1])
set(gca, 'xtick', [0:8])
text(3.3, 0.27, 'Matlab "symmetric" \rightarrow', 'color', 'red', 'FontSize',12)
str = {'\leftarrow Matlab "periodic"',' ("DFT-even")'};
text(5.5, 0.74, str, 'color', 'blue', 'FontSize',12)
title('Two 8-point Hann window functions', 'FontSize',12);
xlabel('\leftarrow n \rightarrow')
|
יומן העלאה מקורי
תאריך/שעה | ממדים | משתמש | הערה |
---|---|---|---|
27 באוגוסט 2013, 04:03:10 | 636 × 374 (12992 bytes) | Bob K (שיחה · תרומות) | User created page with UploadWizard |
פריטים שמוצגים בקובץ הזה
מוצג
ערך כלשהו ללא פריט ויקינתונים
5 באפריל 2016
image/png
41,897 בית
392 פיקסל
620 פיקסל
היסטוריית הקובץ
ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.
תאריך/שעה | תמונה ממוזערת | ממדים | משתמש | הערה | |
---|---|---|---|---|---|
נוכחית | 01:36, 6 באפריל 2016 | 392 × 620 (41 ק"ב) | Bob K | Enlarge the dots on the graph. | |
23:56, 5 באפריל 2016 | 394 × 623 (41 ק"ב) | Bob K | The formula from Harris' paper (called "DFT Even") is the same as MATLAB's formula (called "periodic"). Therefore only two plots are needed, not three. | ||
21:04, 2 באוגוסט 2014 | 374 × 636 (15 ק"ב) | GifTagger | Bot: Converting file to superior PNG file. (Source: 8-point_Hann_windows.gif). This GIF was problematic due to non-greyscale color table. |
שימוש בקובץ
אין בוויקיפדיה דפים המשתמשים בקובץ זה.
מטא־נתונים
קובץ זה מכיל מידע נוסף, שכנראה הגיע ממצלמה דיגיטלית או מסורק שבהם הקובץ נוצר או עבר דיגיטציה.
אם הקובץ שונה ממצבו הראשוני, כמה מהנתונים להלן עלולים שלא לשקף באופן מלא את הקובץ הנוכחי.
הערה בקובץ PNG |
|
---|---|
רזולוציה אופקית | 28.35 dpc |
רזולוציה אנכית | 28.35 dpc |
התאריך והשעה של שינוי הקובץ | 22:35, 5 באפריל 2016 |