Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

THC HNH CC H THNG TRUYN THNG

1.1/ Cc khi c bn trong Matlab


B to sng Sin: Vo Simulink/Sources/Sine Wave

To tn hiu s(t) = 1sin(2100t) c bin V 1 v tn s f 100Hz .


Ta cu hnh b Sine Wave nh sau:

Sample time T(s) l thi gian ly mu. TS =


fs

2 fm

vi

1
fs

fs

phi chn sao cho

f m l tn s ca tn hiu.

Scope: Vo Simulink/Sinks/Scope
Scope hin th tn hiu trong min thi gian. Hin th tn hiu s t t ( ) 1sin(2
100 ) c bin V V 1 v tn s f Hz 100 .

B to d liu s: Vo Communications System Toolbox\Comm


Sources\Random Data Sources

Bernoulli Binary Generator: To chui bit ngu nhin

Cu hnh:

Tc l 1bps
Random Integer Generator: To gi tr ngu nhin

B to nhiu:

B m li bit:

Display: _ T l li bit
_ S bit li
_ Tng s bit truyn

You might also like