?? noise_nb.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 + -