#include #include #include #include "msp.h" void mdecint(float x[],float h[],float y[],int nh,int ny,int m, int l,int *k) …
Sampling+Theorem 源代码
汇集 Sampling+Theorem 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
% IIR_BP_1.m % Calculating IIR filter coefficients of 2nd Order IIR Filter % Numerator coefficients B0 = 1632; B1 = 0 ; …
% fir_window_1.m % Calculating FIR coefficients for different window functions Fs = 48000; % Sampling frequency FN …
% multirate_2.m % Calculating FIR coefficients Fs = 24000; % Sampling frequency FN = Fs/2; % Nyquist freque…
% fir_window_1.m % Calculating FIR coefficients for different window functions Fs = 48000; % Sampling frequency FN …
% IIR_BP_1.m % Calculating IIR filter coefficients of 2nd Order IIR Filter % Numerator coefficients B0 = 1632; B1 = 0 ; …
function xl=loweq(x,ts,f0) % xl=loweq(x,ts,f0) %LOWEQ Returns the lowpass equivalent of the signal x. % f0 is the center fre…
t0=.15; % signal duration ts=0.001; % sampling interval % the message vector m=[ones(1,…
function xl=loweq(x,ts,f0) % xl=loweq(x,ts,f0) %LOWEQ Returns the lowpass equivalent of the signal x. % f0 is the center fre…
function [a, b] = d2d(phi, gamma, t1, t2) %D2D Conversion of discrete state-space models to models with diff. sampling times. % …