利用Matlab来解释《信号与系统》——Lab4

Lab4

Introduction

Experiment Objective

  1. To review the signals with the Continuous-Time Fourier transform
  2. To calculate CTFT of signals by hand and MATLAB
  3. To learn impulse responses of differential equations (partial fraction expansion)
  4. To learn and master MATLAB function residue, lsim
  5. To learn the signal in dash/dot to represent Morse Code

Experiment Requirements

  1. Master the definition and calculation of Continuous-Time Fourier Transform
  2. Learn and solve impulse response of differential equations by function freqs

Lab results & Analysis:

4.2 Numerical Approximation to the Continuous-Time Fourier Transform

Basic Problems:
(a)

在这里插入图片描述
在这里插入图片描述

(b)——(e)
%=======4.2======  
%=======(b)======  
	  
tau = 0.01;  
T = 10;  
N = T/tau;  
t = [0:tau:T-tau];  
y = exp(-2.*abs(t-5));  
	  
%=======(c)======  
	  
Y = fftshift(tau*fft(y));  
  
%=======(d)======  
	  
w = -(pi/tau)+(0:N-1)*(2*pi/(N*tau));  
  
%=======(e)======  
	  
X = exp(1i*5*w).*Y;  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值