see this chapter from the help of matlab 6.5 in the attachment area. Also you can find more examples on the mathwork web site, just do search within it for your keyword.
Another way for you, you can do search in the matlab help on your computer for digital modulation as a keyword or just modulation.