% 用平移变换平移法(cycle_spinning)消除gibbs效应 clear; clc; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%…
SSC信号 源代码
汇集 SSC信号 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
echo off close all clc t0=0.2 ; ts=0.001 fs=1/ts fc=300; t=[-t0/2:ts:t0/2]; m=sinc(100*t); c=cos(2*pi*fc.*t); u=m…
%----------------------------------------------------------------- % exa011005_chirp.m: for example 1.10.5 % to test chirp.m and…
%sigpro.m现代数字信号处理第一次上机作业. theta=linspace(0,2*pi,500);%产生500个方位角; Sx=cos(theta);%产生期望信号在X轴上的分量500个; Sy=sin(theta);%产生期望信号在Y轴上的分量…
signal.h signal.h 7 fs/pipe.c #include <signal.h> // 信号头文件。定义信号符号常量,信号结构以及信号操作函数原型。 signal.h 13 inclu…
%生成白噪声信号 N=1000; t=1:N; x=rand(1,N)-0.5; figure(1); plot(t,x,'LineWidth',2); xlabel('时间 t/s'); ylabel('幅值 A'); %一维小波分解 [c…
%生成含噪正弦信号 N=1024; t=1:N; sig=sin(0.03*t); figure(1); plot(t,sig,'LineWidth',2);xlabel('时间 t/s');ylabel('幅值 A'); %叠加信号 x=sig…
%给定一个正弦信号并作图 t=0:1000; s=sin(0.03*t); subplot(3,1,1); plot(s); axis([0 1000 -2 2]); title('原始信号'); %给该信号加噪声 load noissin; …
%设置信噪比和随机种子值 snr=4; init=2055615866; %产生原始信号sref和被高斯白噪声污染的信号s [sref,s]=wnoise(1,11,snr,init); %用sym8小波对信号s进行3层分解并对细节系数 %选用SU…
% 产生包含2^10点的'Heavy sine'信号 x = wnoise(3,10); figure(1); ind = linspace(0,1,2^10); subplot(5,1,1),plot(ind,x),title('Heavy si…