Skip to content

Instantly share code, notes, and snippets.

import numpy as np
import matplotlib.pyplot as plt
sample_time = 20
samples = 2**16 * sample_time
symbol_count = sample_time * 200
symbol_length = samples // symbol_count
frequency = 10000
time = np.linspace(0, sample_time, samples)