代码搜索结果
找到约 10,000 项符合
Raspberry Pi 的代码
sig_bandpass.m
%带通信号经过带通系统的等效基带表示
clear all;
close all;
dt = 0.01;
t = 0:dt:5;
s1 = exp(-t).*cos(20*pi*t); %输入信号
[f1 s1f]= T2F(t,s1); %输入信号的频谱
s1_lowpass = hilbert(s1).*exp(-j*2*pi*
mfm.m
%FM modulation and demodulation
clear all;
close all;
Kf = 5;
fc = 10;
T=5;
dt=0.001;
t = 0:dt:T;
%信源
fm= 1;
%mt = cos(2*pi*fm*t) + 1.5*sin(2*pi*0.3*fm*t); %信源信号
mt = cos(2
dtchy.m
%低通抽样定理
clear all; close all;
dt = 0.01;
t = 0:dt:10-dt;
xt = 0.1*cos(0.15*pi*t)+1.5*sin(2.5*pi*t)+0.5*cos(4*pi*t);
[f,xf] = T2F(t,xt);
%抽样信号,抽样速率为4Hz
fs = 4;
sdt = 1/fs;
t1 = 0:sdt:10-d
liti15.m
theta=linspace(0,2*pi),
rho=sin(2*theta).*cos(2*theta);
polar(theta,rho,'g')
title('Polar plot of sin(2*theta).*cos(2*theta)');
liti33.m
subplot(2,2,1);fplot('hump',[0,1])
subplot(2,2,2);fplot('abs(exp(-j*x*(0:9))*ones(10,1))',[0 2*pi])
subplot(2,2,3);fplot('[tanh(x),sin(x),cos(x)]',2*pi*[-1 1 -1 1])
subplot(2,2,4);fplot('sin(1./x)'
exa060603.m
%----------------------------------------------------------------------------
% exa060603.m, for example 6.6.3;
% To design IIR Butteworth bandstop DF by analog-lowpass,
% -------------------------
exa011004_sinc.m
%-----------------------------------------------------------------
% exa011004_sinc.m, for example 1.10.4
% to generate the sinc function.
% 产生一 sinc 函数;
%-----------------------
exa050501.m
%------------------------------------------------------------------------
% exa050501.m, for example 5.5.1 and fig5.5.1
% to explain the spectra factorization
%------------------------------------
exa060701_3.m
%-----------------------------------------------------------------------------
% exa060701_3.m , for example 6.7.1 and 6.5.1
% to test butter.m
%---------------------------------------------------
exa060701_2.m
%-----------------------------------------------------------------------------
% exa060701_2.m , for example 6.7.1 and 6.5.1
% to test buttord,lp2lp,bilinear ;
% to design Low-pass DF with s=2/Ts[(