Quanterr.png(489 × 320 像素,檔案大小:2 KB,MIME 類型:image/png


摘要

描述 Plot of a quantized signal and its error
日期
來源 自己的作品
作者 Atropos235

Source Code

close all; figure
t = 0:0.0001:2;
   % generate some nice looking signal then scale to +/- 1
x = 2*cos(2*pi*t)+1.5*cos(4*pi*t+2)+1*cos(5*pi*t)+0.5*cos(10*pi*t);
x = 2*(x - min(x))/(max(x)-min(x)) - 1;
   % quantization
n = 2; % bits 
xq = floor((1-1e-12)*(x+1).*2.^(n-1));
xq = xq / (2^(n-1));
xq = xq - (2^n - 1) / 2^n;
   % error signal
qerr = x - xq;
   % plot
subplot(211); plot(t,x,'b',t,xq,'r'); title('Original and Quantized Signal');
subplot(212); plot(t,qerr,'b'); title('Quantization Error');

授權條款

Public domain 我,此作品的版權所有人,釋出此作品至公共領域。此授權條款在全世界均適用。
這可能在某些國家不合法,如果是的話:
我授予任何人有權利使用此作品於任何用途,除受法律約束外,不受任何限制。

說明

添加單行說明來描述出檔案所代表的內容
Plot of a quantized signal and its error

在此檔案描寫的項目

描繪內容

創作作者 Chinese (Hong Kong) (已轉換拼寫)

沒有維基數據項目的某些值

維基媒體使用者名稱 繁體中文 (已轉換拼寫):​Atropos235
作者姓名字串 繁體中文 (已轉換拼寫):​Atropos235

著作權狀態 繁體中文 (已轉換拼寫)

有著作權 繁體中文 (已轉換拼寫)

檔案來源 Chinese (Taiwan) (已轉換拼寫)

上傳者的原創作品 繁體中文 (已轉換拼寫)

檔案歷史

點選日期/時間以檢視該時間的檔案版本。

日期/時間縮⁠圖尺寸用戶備⁠註
目前2010年5月6日 (四) 21:13於 2010年5月6日 (四) 21:13 版本的縮圖489 × 320(2 KB)Aiyizolosslessly compressed with pngout
2008年2月24日 (日) 03:41於 2008年2月24日 (日) 03:41 版本的縮圖489 × 320(5 KB)Atropos235{{Information |Description=Plot of a quantized signal and it's error |Source=self-made |Date=23 February 2008 |Author= Atropos235 |Permission= |other_versions= }} ==Source Code== <pre><nowiki> close all; figure t = 0:0.0001:2; % gen

下列2個頁面有用到此檔案:

全域檔案使用狀況

以下其他 wiki 使用了這個檔案: