没有合适的资源?快使用搜索试试~ 我知道了~
16340198_孙肖冉_project11
需积分: 0 0 下载量 158 浏览量
2022-08-03
22:41:07
上传
评论
收藏 341KB PDF 举报
温馨提示
试读
6页
(1) Plot this signal and its frequency spectrum (2) When the sampling period sat
资源详情
资源评论
资源推荐
project1
16340198 孙肖冉
Write programs (using Matlab or other software) to finish the exercises below.
For
t
tt
tf
,0
0)],cos(1[
2
1
)(
,
(1) Plot this signal and its frequency spectrum;
(2) When the sampling period satisfies
1T
,
2/
T
,
2T
, respectively, please plot the
sampling signal
)(nf
p
and its frequency spectrum, respectively. Please give explanation of
these results;
(3) Using lowpass filter with cutting frequency
4.2
c
to reconstruct signal
)(tf
r
from
)(nf
p
. When the sampling period satisfies
1T
,
2T
, respectively, please plot the
reconstructed signal
)(tf
r
, and plot the absolute error between the reconstructed signal
)(tf
r
and the original signal
)(tf
. Please analyze these results.
(一)源代码:
因代码重复部分很多,所以只截取部分进行展示,将一完整代码附在文件 code 中。
1)绘制时间信号 f(t):
dt = 0.01;
t = -5:0.01:5;
%建立原连续信号
f = 0*(abs(t)>pi) + 1/2*((cos(t)+1).*(abs(t)<=pi));
subplot(3,1,1);
plot(t,f);
xlabel('time');
ylabel('f(t)');
title('signal');
首席程序IT
- 粉丝: 30
- 资源: 305
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0