当前位置:网站首页>[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);
边栏推荐
猜你喜欢
如何构建属于自己的知识引擎?社群开放申请
每日刷题记录 (十二)
NTFS security permissions
Introduction and application of rampax in unity: optimization of dissolution effect
Utiliser des unités de mesure dans votre code pour une vie meilleure
Secondary vocational group network security - memory Forensics
Developing mqtt access program under QT
TCP状态转换图
Use units of measure in your code for a better life
附件六:防守工作簡報.docx
随机推荐
We believe that the development of consumer Internet will still be limited to the Internet industry itself
Annex VI: defense work briefing docx
Flutter 调用高德地图APP实现位置搜索、路线规划、逆地理编码
Sécurité du réseau dans les écoles professionnelles secondaires - preuve de mémoire
Zhongke Panyun - data analysis and forensics packet flag
2022年6月总结
[matlab] matlab simulation modulation system - DSB system
GUI application: socket network chat room
Correct the classpath of your application so that it contains a single, compatible version of com.go
在代碼中使用度量單比特,從而生活更美好
6-4 vulnerability exploitation SSH banner information acquisition
When using flash to store parameters, the code area of flash is erased, which leads to the interrupt of entering hardware error
中职组网络安全—内存取证
MySQL JDBC programming
拼夕夕二面:说说布隆过滤器与布谷鸟过滤器?应用场景?我懵了。。
STM32F1与STM32CubeIDE编程实例-74HC595驱动4位7段数码管
Unity中RampTex介绍和应用: 溶解特效优化
[matlab] matlab simulation modulation system - VSB system
[matlab] matlab simulation - simulate the AM modulation process of the modulation system
LeetCode136+128+152+148