MAKE A MEME View Large Image Sawtooth sampled.png sawtooth wave represented as both an analog curve and digital samples 2014-07-20 18 20 08 own Created with Matplotlib Ldo Generated with the following code <pre> import numpy as np import matplotlib pyplot as plt ...
View Original:Sawtooth sampled.png (812x612)
Download: Original    Medium    Small Thumb
Courtesy of:commons.wikimedia.org More Like This
Keywords: Sawtooth sampled.png sawtooth wave represented as both an analog curve and digital samples 2014-07-20 18 20 08 own Created with Matplotlib Ldo Generated with the following code <pre> import numpy as np import matplotlib pyplot as plt frames_per_cycle 16 freq 2 nr_frames frames_per_cycle freq phase 0 audio np fromfunction lambda y y / frames_per_cycle + phase 1 - 0 5 nr_frames fig ax plt subplots nrows 2 ax0 plot np linspace 0 freq nr_frames audio - ax0 set_title Analog ax1 plot np linspace 0 freq nr_frames audio o ax1 set_title Digital plt subplots_adjust hspace 0 5 plt show </pre> cc-zero Uploaded with UploadWizard Waveforms Digital-analogue conversion Images with Python source code
Terms of Use   Search of the Day