当前位置:网站首页>matlab中rcosdesign函数升余弦滚降成型滤波器
matlab中rcosdesign函数升余弦滚降成型滤波器
2022-08-05 00:07:00 【布衣书生-Python】
matlab中rcosdesign函数升余弦滚降成型滤波器
1 rcosdesign函数说明
b = rcosdesign(beta,span,sps,shape)
beta: 滚降系数,取值0~1之间,决定频宽和陡峭程度(值越大频带越窄,越陡峭)。取值一般大于0.2。
span: 表示截断的符号范围(多少个符号)。
sps: 单个符号范围的采样个数(每个符号上有几个采样点)
shape:可选参数。可不加,可加上’normal’,可加上’sqrt’。
当选择’sqrt’时,返回一个平方根升余弦滤波器。
下图是滚降系数不同的对比,可以看出,设计一个升余弦滤波器总共需要上述三个参数。
2 实例展示
clc
clear all
rolloff=0.2;
span=10;
sps=6;
shape='sqrt';
filter=rcosdesign(rolloff,span,sps,shape);
fvtool(filter,'Analysis','impulse');

我们可以看到阶段范围为10,每个范围采样点数为6,上图共存在60个采样点。
修改一下参数,再来看一下:
rolloff=0.2;
span=6;
sps=4;
shape='sqrt';

我们可以看到阶段范围为6,每个范围采样点数为4,上图共存在24个采样点。
3 码元成型滤波并调制
下面是对40个随机码元成型滤波并调制
clc;
clear all;
close all;
rolloff=0.25;
span=4;
sps=40;
b=rcosdesign(rolloff,span,sps);
d=2*randi([0 1],20,1)-1;
x=upfirdn(d,b,sps);% 成型滤波
r=x+randn(size(x))*0.01;% 加随机噪声
fvtool(r,'Analysis','impulse');% 滤波器可视化
fc=0.1;
t=[1:length(r)];
carrier=cos(2*pi*fc*t);
z=20*r.*carrier';% 调制
plot(z)
基带成型波形:
调制后的波形:
边栏推荐
- 美团二面:Redis与MySQL双写一致性如何保证?
- Detailed explanation of common DNS resource record types
- KT148A voice chip ic working principle and internal architecture description of the chip
- 仿网易云音乐小程序-uniapp
- Handwritten Distributed Configuration Center (1)
- First, the basic concept of reptiles
- Mathematical Principles of Matrix
- 软件质量评估的通用模型
- uniapp横向选项卡(水平滚动导航栏)效果demo(整理)
- KT148A语音芯片ic工作原理以及芯片的内部架构描述
猜你喜欢

MongoDB permission verification is turned on and mongoose database configuration

KT148A语音芯片怎么烧录语音进入芯片里面通过串口和电脑端的工具

Senior game modelers tell newbies, what are the necessary software for game scene modelers?

从单体架构迁移到 CQRS 后,我觉得 DDD 并不可怕

图解 Canvas 入门

【LeetCode】图解 904. 水果成篮

~ hand AHB - APB Bridge 】 【 AMBA AHB bus

小黑leetcode冲浪:94. 二叉树的中序遍历

英特尔WiFi 7产品将于2024年亮相 最高速度可达5.8Gbps

jenkins send mail system configuration
随机推荐
Getting started with 3D modeling for games, what modeling software can I choose?
如何写好测试用例
【数据挖掘概论】数据挖掘的简单描述
【LeetCode】矩阵模拟相关题目汇总
KT148A语音芯片怎么烧录语音进入芯片里面通过串口和电脑端的工具
线程三连鞭之“线程的状态”
再肝3天,整理了90个 NumPy 例子,不能不收藏!
lua 如何 实现一个unity协程的工具
Three tips for you to successfully get started with 3D modeling
LeetCode Hot 100
golang 协程的实现原理
Modelers experience sharing: model study method
资深游戏建模师告知新手,游戏场景建模师必备软件有哪些?
【无标题】
IDEA file encoding modification
Brainstorm: Complete Backpack
Statistical words (DAY 101) Huazhong University of Science and Technology postgraduate examination questions
VMware NSX 4.0 -- 网络安全虚拟化平台
【七夕快乐篇】Nacos是如何实现服务注册功能的?
图解 Canvas 入门