File:Pcm.svg

From formulasearchengine
Jump to navigation Jump to search

Original file(SVG file, nominally 500 × 375 pixels, file size: 21 KB)

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

An example of 4-bit pulse code modulation (16 different binary-coded possibilities) showing quantization and sampling of a signal (red). Generated by myself using Inkscape to heavily modify gnuplot output.


See: 4-bit-linear-PCM.svg

Details

Generated curve and scale with the following gnuplot script:

 
This plot was created with Gnuplot.

Source code

InfoField

Gnuplot code

set terminal svg size 1600 1200 fname "Times New Roman" fsize 48 enhanced
 set output "pcm.svg"
 set samples 1000
 
 set nokey
 set grid ytics lw 4
 set xtics 32
 set mxtics 32
 set ytics 1
 set noxzeroaxis
 set noyzeroaxis
 set noborder
 
 set xrange [0:32]
 set yrange [0:15]
 
 plot 7.5*sin(2*pi*x/32) + 7.5 lw 4

Floor function was then performed by hand in Inkscape, along with various other image quality tweaks.

Other versions

[edit]


.svg:

.png:


Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.

Captions

sine wave

Items portrayed in this file

depicts

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:51, 23 March 2014Thumbnail for version as of 22:51, 23 March 2014500 × 375 (21 KB)wikimediacommons>Aquegg~commonswikiUse 'lollipop' notation, per Lyons, "Understanding DSP", 2001

The following page uses this file: