当前位置:网站首页>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)
基带成型波形:
调制后的波形:
边栏推荐
- MVCC是什么
- "Relish Podcast" #397 The factory manager is here: How to use technology to empower the law?
- 【七夕情人节特效】-- canvas实现满屏爱心
- uniapp横向选项卡(水平滚动导航栏)效果demo(整理)
- 怎么将自己新文章自动推送给自己的粉丝(巨简单,学不会来打我)
- Basic web in PLSQL
- 【数据挖掘概论】数据挖掘的简单描述
- Laravel 实现redis分布式锁
- NebulaGraph v3.2.0 Release Note, many optimizations such as the performance of querying the shortest path
- How to burn the KT148A voice chip into the chip through the serial port and the tools on the computer
猜你喜欢
随机推荐
uniapp horizontal tab (horizontal scrolling navigation bar) effect demo (organization)
Cloud native - Kubernetes 】 【 scheduling constraints
@Import注解的作用以及如何使用
uniapp动态实现滑动导航效果demo(整理)
阅读笔记:如何理解DevOps?
MAUI Blazor 权限经验分享 (定位,使用相机)
Privacy Computing Overview
VMware NSX 4.0 -- 网络安全虚拟化平台
游戏3D建模入门,有哪些建模软件可以选择?
Bidding Announcement | Operation and Maintenance Project of Haina Baichuang Official Account
Couple Holding Hands [Greedy & Abstract]
【云原生--Kubernetes】Pod控制器
子连接中的参数传递
工业物联网 —— 新型数据库的召唤
【七夕快乐篇】Nacos是如何实现服务注册功能的?
关于使用read table 语句
The applicable scenarios and common product types of the KT148A electronic voice chip ic solution
怎样进行在不改变主线程执行的时候,进行日志的记录
Nuclei (2) Advanced - In-depth understanding of workflows, Matchers and Extractors
Basic web in PLSQL





![[Cloud Native--Kubernetes] Pod Controller](/img/e1/1a8cc82223f9a9be79ebbf1211e9a4.png)



