?? c7_example2.m
字號(hào):
% File: c7_example2.m
% Software given here is to accompany the textbook: W.H. Tranter,
% K.S. Shanmugan, T.S. Rappaport, and K.S. Kosbar, Principles of
% Communication Systems Simulation with Wireless Applications,
% Prentice Hall PTR, 2004.
%
nbits = 10; nsamples = 8;
x = random_binary(nbits,nsamples)+i*random_binary(nbits,nsamples);
xd = real(x); xq = imag(x);
subplot(2,1,1)
stem(xd,'.'); grid; axis([0 80 -1.5 1.5]);
xlabel('Sample Index'); ylabel('xd')
subplot(2,1,2)
stem(xq,'.'); grid; axis([0 80 -1.5 1.5]);
xlabel('Sample Index'); ylabel('xq')
% End of script file.
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -