PDM编码原理 y[n]表示PDM编码信号,x[n]为模拟信号 PDM代码 import numpy as np import matplotlib.pyplot as plt def pdm(x): n = len(x) y = np.zeros(n