File:Effect of circular convolution on discrete Hilbert transform.png
出自Wikimedia Commons
跳至導覽
跳至搜尋
預覽大小:800 × 421 像素。 其他解析度:320 × 168 像素 | 640 × 337 像素 | 1,156 × 608 像素。
原始檔案 (1,156 × 608 像素,檔案大小:100 KB,MIME 類型:image/png)
檔案資訊
結構化資料
說明
摘要
[編輯]描述Effect of circular convolution on discrete Hilbert transform.png |
English: The Hilbert transform of cos(ωt) is sin(ωt). When a finite segment of cos(ωt) is transformed, edge effects inevitably occur. Using a segment length of 256 samples, this figure shows a sine function and two approximate Hilbert transforms computed by the MATLAB library function, hilbert(·), which supports optional zero-filling of the segment to be transformed. The red graph is the result of no zero-filling, and the blue graph is the result of 300% zero-filling. In the latter case, the edge effects are almost all due to the rise and fall times of the Hilbert transform's 2/(πn) impulse response. In the "red" case, we have the added effect of circular convolution. In other words, in the blue case, distortion occurs when some of the filter taps are coinciding with zeros, instead of with samples of cos(ωt). And in the red case, those same taps are coinciding with wrapped-around (and out-of-phase) samples of cos(ωt). |
|||
日期 | ||||
來源 | 自己的作品 | |||
作者 | Bob K | |||
授權許可 (重用此檔案) |
我,本作品的著作權持有者,決定用以下授權條款發佈本作品:
|
|||
PNG開發 InfoField | 本PNG 點陣圖使用LibreOffice創作。 |
|||
Source file InfoField | Scilab codeN=256;
x=0:N-1;
cycles_per_segment = 8.2888; // empirical value that displays edge effects well
cycles_per_sample = cycles_per_segment/N;
Yreal = cos(2*%pi*cycles_per_sample*x); // function to be transformed
Ans = sin(2*%pi*cycles_per_sample*x); // the ideal answer
H1 = imag(hilbert(Yreal)); // no zero-filling
H2 = imag(hilbert([Yreal zeros(1,1024-N)])); // zero-filling
// Display the results
red=5; blue=2; green=3; black=1; // based on a call to getcolor()
top=green; middle=blue; bottom=red;
plot2d(x', [H1' H2(1:N)' Ans'], style=[bottom middle top], rect=[0,-1.15,N-1,1.15]);
a = gca();
a.box = "on";
a.font_size=2; //set the tics label font size
a.visible = "on";
a.grid = [-1,0];
a.auto_ticks = ["off","off","off"]
a.y_ticks = tlist(["ticks", "locations", "labels"], [-1 0 1], ["-1" "0" "1"]);
a.x_ticks = tlist(["ticks", "locations", "labels"], [0 50 100 150 200 250], ["0" "50" "100" "150" "200" "250"]);
//a.children.children.thickness=2; // set line thickness of plots
top=1; middle=2; bottom=3;
a.children.children(top).thickness=2;
a.children.children(middle).thickness=3;
a.children.children(bottom).thickness=4;
xlabel("samples", "fontsize", 2)
ylabel("amplitude", "fontsize", 2)
title("Hilbert transform of a cosine function and two approximations with edge effects", "fontsize", 4)
|
See also
[編輯]檔案歷史
點選日期/時間以檢視該時間的檔案版本。
日期/時間 | 縮圖 | 尺寸 | 用戶 | 備註 | |
---|---|---|---|---|---|
目前 | 2016年2月9日 (二) 10:58 | 1,156 × 608(100 KB) | Bob K(對話 | 貢獻) | Show the sine function and 2 approximations, instead of the 2 difference functions. | |
2015年4月10日 (五) 15:34 | 1,083 × 570(23 KB) | Bob K(對話 | 貢獻) | The new figure compares two different error functions, one with zero-filling and one without. | ||
2012年9月14日 (五) 01:26 | 1,139 × 636(9 KB) | Bob K(對話 | 貢獻) | shift horizontal scale by 1 | ||
2012年9月14日 (五) 00:48 | 1,134 × 632(9 KB) | Bob K(對話 | 貢獻) | Larger font size for labels | ||
2012年9月13日 (四) 22:51 | 1,119 × 610(7 KB) | Bob K(對話 | 貢獻) | User created page with UploadWizard |
無法覆蓋此檔案。
檔案用途
下列4個頁面有用到此檔案:
全域檔案使用狀況
以下其他 wiki 使用了這個檔案:
- en.wikipedia.org 的使用狀況
- ko.wikipedia.org 的使用狀況
- zh.wikipedia.org 的使用狀況
詮釋資料
此檔案中包含其他資訊,這些資訊可能是由數位相機或掃描器在建立或數位化過程中所新增的。若檔案自原始狀態已被修改,一些詳細資料可能無法完整反映出已修改的檔案。
水平解析度 | 39.37 dpc |
---|---|
垂直解析度 | 39.37 dpc |
檔案修改日期時間 | 2016年2月9日 (二) 10:42 |