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

x=tri_wave(t)
function x=tri_wave(t)
global P D
tmpp=abs(mod(t,P));  tmpn=abs(mod(-t,P));
tmp= min(tmpp,tmpn);
x=(tmp<=D).*(1-tmp/D);

Contact us