Implement the MATLAB exercise PAM2_eye.m on Page 430 of the Lathi textbook.
This will require the functions: "pnrz.m", "prz.m", "psine.m", and "prcos.m" on Page 428-429.
2.1 Data Pulse Trains:
a) Plot the data pulse train for the ideal return-to-zero case (yrz).
b) Plot the data pulse train for the ideal non-return-to-zero case (ynrz).
c) Plot the data pulse train for the half-sine pulse (ysine).
d) Plot the data pulse train for the raised-cosine pulse (yrcos).
2.2 Eye Diagrams:
a) Plot the eye diagram for the ideal return-to-zero pulse (yrz).
b) Plot the eye diagram for the ideal non-return-to-zero pulse (ynrz).
c) Plot the eye diagram for the half-sine pulse (ysine).
d) Plot the eye diagram for the raised-cosine pulse (yrcos).
2.3 Questions:
a) What is the chance of inter-symbol interference?
b) What is the cost of having less chance of inter-symbol interference?