当前位置:网站首页>[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 simulates digital baseband transmission system - digital baseband transmission system
- Encryption and decryption
- How to build your own knowledge engine? Community open application
- MySQL JDBC programming
- 《Cross-view Transformers for real-time Map-view Semantic Segmentation》论文笔记
- Annex II: confidentiality agreement for offensive and defensive drills docx
- 附件六:防守工作簡報.docx
- Flutter ‘/usr/lib/libswiftCore.dylib‘ (no such file)
- Annex III: scoring standard of the defender docx
- A summary of the 8544 problem that SolidWorks Standard cannot obtain a license
猜你喜欢

RAC delete damaged disk group

Public inputs in appliedzkp zkevm (13)

RPC - grpc simple demo - learn / practice

Zhongke panyun-2022 Guangdong Trojan horse information acquisition and analysis

如何构建属于自己的知识引擎?社群开放申请

Headache delayed double deletion

How do good test / development programmers practice? Where to go

qt下开发mqtt的访问程序

测试 CS4344 立体声DA转换器

每日刷题记录 (十二)
随机推荐
Use units of measure in your code for a better life
VSCode的有用插件
海力士EMMC5.0及5.1系列对比详解
测试 CS4344 立体声DA转换器
Correct the classpath of your application so that it contains a single, compatible version of com.go
20000 words will take you to master multithreading
Solve the problem of failed to load property source from location 'classpathapplication YML 'problem
Detailed comparison of Hynix emmc5.0 and 5.1 series
Network equipment emergency response Guide
附件一:202x年xxx攻防演习授权委托书
Niuke Xiaobai monthly race 49
Create ASM disk through DD
【无标题】
EVM proof in appliedzkp zkevm (11)
Encryption and decryption
【QT】定时器
TCP状态转换图
如何构建属于自己的知识引擎?社群开放申请
Capturing and sorting out external Fiddler -- Conversation bar and filter
2022年6月总结