⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 noise_nb.m

📁 通信中一些基本实验的程序AM、FM、ASK、FSK、PSK等等
💻 M
字号:
function [out]=noise_nb(fc,B,N0,t)
%output the narrow band gaussian noise sample with single-sided power
%spectrum N0
%at carrier frequency equals fc and bandwidth equals B
dt=t(2)-t(1);
Fmx=1/dt;

n_len=length(t);
p=N0*Fmx;
rn=sqrt(p)*randn(1,n_len);
[f,rf]=T2F(t,rn);

[t,out]=bpf(f,rf,fc-B/2,fc+B/2)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -