当前位置:网站首页>[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);
边栏推荐
- 【MATLAB】MATLAB 仿真 — 低通高斯白噪声
- Definition of DCDC power supply current
- RAC delete damaged disk group
- 中職組網絡安全—內存取證
- Correct the classpath of your application so that it contains a single, compatible version of com. go
- Flutter ‘/usr/lib/libswiftCore.dylib‘ (no such file)
- Error response from daemon: You cannot remove a running container 8d6f0d2850250627cd6c2acb2497002fc3
- 【MATLAB】通信信号调制通用函数 — 带通滤波器
- 分享一些我的远程办公经验
- Customize a pager needed in your project
猜你喜欢
DCDC电源电流定义
YoloV6实战:手把手教你使用Yolov6进行物体检测(附数据集)
2022 Guangdong provincial competition - code information acquisition and analysis flag
《Cross-view Transformers for real-time Map-view Semantic Segmentation》论文笔记
appliedzkp zkevm(13)中的Public Inputs
How do good test / development programmers practice? Where to go
Detailed comparison of Hynix emmc5.0 and 5.1 series
6-5 vulnerability exploitation SSH weak password cracking and utilization
Secondary vocational group network security - memory Forensics
Capturing and sorting out external Fiddler -- Conversation bar and filter
随机推荐
Use units of measure in your code for a better life
Exercise bubble sort
中職組網絡安全—內存取證
红队视角下的防御体系突破之第二篇案例分析
中科磐云—模块A 基础设施设置与安全加固 评分标准
appliedzkp zkevm(13)中的Public Inputs
Annex V: briefing on the attack process docx
Solve the problem of failed to load property source from location 'classpathapplication YML 'problem
[matlab] matlab simulation - narrow band Gaussian white noise
中科磐云—2022广东木马信息获取解析
Get the ID of the record just inserted from laravel
[matlab] general function of communication signal modulation inverse Fourier transform
Talking about JVM
【MATLAB】MATLAB 仿真 — 低通高斯白噪声
Rollup各组件作用
Roles of rollup components
【MATLAB】MATLAB 仿真模拟调制系统 — SSB 系统
[matlab] matlab simulation - low pass Gaussian white noise
测试 CS4344 立体声DA转换器
@Feignclient comments and parameters