MAKE A MEME View Large Image Quanterr.png Plot of a quantized signal and its error own 2008-02-23 Atropos235 Source Code <pre><nowiki> 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 ...
View Original:Quanterr.png (489x320)
Download: Original    Medium    Small Thumb
Courtesy of:commons.wikimedia.org More Like This
Keywords: Quanterr.png Plot of a quantized signal and its error own 2008-02-23 Atropos235 Source Code <pre><nowiki> 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' ; </nowiki></pre> Files Noise Communication models Multimedia Digital technology Storage media English text
Terms of Use   Search of the Day