Code covered by the BSD License  

Highlights from
MATLAB for Digital Communication

image thumbnail

MATLAB for Digital Communication

by

 

The MATLAB programs in "MATLAB/Simulink for Digital Communication" authored by Won Y. Yang et. al

test_unwrap.m
%test_unwrap.m
% What is the function of unwrap()?
n=[0:200]; th=2*pi*n/100; x=exp(j*th);
th1=angle(x);  th2=unwrap(th1);
plot(th,th1,'b:', th,th2,'r-')

Contact us