当前位置:网站首页>[matlab] general function of communication signal modulation bandpass filter
[matlab] general function of communication signal modulation bandpass filter
2022-07-04 05:00:00 【Embedded workplace】
Catalog
Bandpass filter
function [t,st] = bpf(f,sf,B1,B2)
%This function filter an input at frequency domain by an ideal bandpass filter
%Inputs:
% f: frequency samples
% sf: input data spectrum samples
% B1: bandpass's lower frequency
% B2: bandpass's higher frequency
%Outputs:
% t: time samples
% st: output data's time samples
df = f(2)-f(1);
T = 1/df;
hf = zeros(1,length(f));
bf = [floor(B1/df ): floor(B2/df)] ;
bf1 = floor(length(f)/2) + bf;
bf2 = floor(length(f)/2) - bf;
hf(bf1)=1;
hf(bf2)=1;
yf = hf.*sf;
[t,st] = F2T(f,yf);
st = real(st);边栏推荐
- Beipiao programmer, 20K monthly salary, 15W a year, normal?
- 附件2-2保密承诺书.docx
- Annex VI: defense work briefing docx
- 【MATLAB】通信信号调制通用函数 — 插值函数
- Zhongke panyun-d module analysis and scoring standard
- Sécurité du réseau dans les écoles professionnelles secondaires - preuve de mémoire
- The second case analysis of the breakthrough of defense system from the perspective of the red team
- 【MATLAB】MATLAB 仿真数字基带传输系统 — 数字基带传输系统
- Sample template of software design document - learning / practice
- Headache delayed double deletion
猜你喜欢

GUI application: socket network chat room

Niuke Xiaobai monthly race 49

Technology Management - learning / practice

NTFS 安全权限

6-5 vulnerability exploitation SSH weak password cracking and utilization

2022广东省赛——编码信息获取 解析flag

Yolov6 practice: teach you to use yolov6 for object detection (with data set)

RPC - gRPC简单的demo - 学习/实践

中科磐云—D模块解析以及评分标准

Create ASM disk through DD
随机推荐
拼夕夕二面:说说布隆过滤器与布谷鸟过滤器?应用场景?我懵了。。
Flutter 调用高德地图APP实现位置搜索、路线规划、逆地理编码
【MATLAB】通信信号调制通用函数 — 低通滤波器
Niuke Xiaobai monthly race 49
NTFS security permissions
Unity中RampTex介绍和应用: 溶解特效优化
Annex VI: defense work briefing docx
【MATLAB】MATLAB 仿真数字基带传输系统 — 数字基带传输系统
TCP状态转换图
Roles of rollup components
RPC - grpc simple demo - learn / practice
Download kicad on Alibaba cloud image station
【MATLAB】通信信号调制通用函数 — 带通滤波器
Sample template of software design document - learning / practice
Rollup各组件作用
附件六:防守工作簡報.docx
The second case analysis of the breakthrough of defense system from the perspective of the red team
STM32F1与STM32CubeIDE编程实例-74HC595驱动4位7段数码管
【MATLAB】通信信号调制通用函数 — 傅里叶逆变换
DCDC电源电流定义