If you have Communication Toolbox, all standard modulation and de-modulation functions are defined in that. If you do not have it, you will have to code it based on the equations from your text book.
z is the output for demodulated single r u send me a code like this that have a sine function and that code perform the modulation and demodulation i shall be thankful to you