square+wave 源代码
汇集 square+wave 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function s = square(t,duty) %SQUARE Square wave generation. % SQUARE(T) generates a square wave with period 2*Pi for the % …
function s = square(t,duty) %SQUARE Square wave generation. % SQUARE(T) generates a square wave with period 2*Pi for the % …
dt=0.001;N=5000; t=0:dt:N*dt; x=square(2*pi*t); subplot(211),plot(t,x);grid on; fc=3; ht=cos(2*pi*fc*t); x_ask=x.*ht; subpl…
var indata, squarefp, squareret; procedure square; var squareap; begin squareap := squarefp; squareret := squareap * squareap…