%exm021_1.m x=0:0.1:1 %定义自变量的采样点取值数组 y=x.*exp(-x) %利用数组运算计算各自变量采样点上的函数值 plot(x,y),xlabel('x'),ylabel('y'),title('y=x*exp(-x)…
重采样 源代码
汇集 重采样 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
% File: c3_upsample.m % 上采样/内插操作的实现 function out=c3_upsample(in,M) L = length(in); out = zeros(1,(L-1)*M+1); for j=1:L o…
N=128; % 采样点数 T=1; % 采样时间终点 t=linspace(0,T,N); % 给出N个采样时间…
function c=FF(A,a,w,fs) % 采样序列Xn的产生函数 n=0:50-1; c=A*exp((-a)*n/fs).*sin(w*n/fs).*exp1_stepseq(0,0,49);
function c=FF(A,a,w,fs) % 采样序列Xn的产生函数 n=0:50-1; c=A*exp((-a)*n/fs).*sin(w*n/fs).*exp1_stepseq(0,0,49);
function c=FF(A,a,w,fs) % 采样序列Xn的产生函数 n=0:50-1; c=A*exp((-a)*n/fs).*sin(w*n/fs).*exp1_stepseq(0,0,49);
N=128; % 采样点数 T=1; % 采样时间终点 t=linspace(0,T,N); % 给出N个采样时间…
N=128; % 采样点数 T=1; % 采样时间终点 t=linspace(0,T,N); % 给出N个采样时间…
#include "systemInit.h" #include "uartGetPut.h" #include #include #define ADCSequEnable ADCSequenceEnable …
#include "systemInit.h" #include "uartGetPut.h" #include #include #define ADCSequEnable ADCSequenceEnable …