Jump to content

File:4-bit-linear-PCM.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

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

Summary

Description
English: Encoding an analogue signal to 4-bit linear PCM
Date
Source Own work
Author Aquegg
Other versions Derivative works of this file:  Pcm.svg
SVG development
InfoField
 
The SVG code is valid.
 
This diagram was created with Gnuplot.
 
 This plot uses embedded text that can be easily translated using a text editor.
Source code
InfoField

Gnuplot code

set terminal svg size 500 375 fsize 16 enhanced
 set output "4-bit-linear-PCM.svg"
 set nokey
 set noborder
 set grid ytics lw 1.5 lt 1 lc rgb 'grey25'
 set ytics("–8"-8,"–7"-7,"–6"-6,"–5"-5,"–4"-4,"–3"-3,"–2"-2,"–1"-1,"0"0,"1"1,"2"2,"3"3,"4"4,"5"5,"6"6,"7"7)
 set tic scale 0
 unset xtics
 n=23
 set xrange [0:n]
 set yrange [-8:7]
 f(x)=4*(sin(2*pi*x/n)+sin(6*pi*x/n-1))
 set table 'tmp.dat'
 plot f(x)-.5
 unset table
 set samples n
 plot 'tmp.dat' w lines lw 4, floor(f(x)) w impulses lc rgb 'grey50' lw 1.5, floor(f(x)) w points pt 7 ps .8

Licensing

I, the copyright holder of this work, hereby publish it under the following 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.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

13 November 2013

image/svg+xml

cdd41441672b39ccdb24aa780cec5d109a616042

19,831 byte

375 pixel

500 pixel

File history

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

Date/TimeThumbnailDimensionsUserComment
current13:33, 13 November 2013Thumbnail for version as of 13:33, 13 November 2013500 × 375 (19 KB)Aquegg~commonswikiUser created page with UploadWizard

The following 2 pages use this file:

Global file usage

The following other wikis use this file:

Metadata