?? example_awgn.m
字號:
% Name:example_awgn.m
% Additive white Gaussian noise
close all,clear,
t=0:0.01:10;
x=sin(pi*t);
y=awgn(x,5);
subplot(211)
plot(t,x)
title('The original signal x(t)')
axis([0,10,-2,2])
subplot(212)
plot(t,y)
title('The output signal y(t)')
xlabel('Time t')
axis([0,10,-2,2])
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -