Here is transmitter function in matlab. ofdmsimulationresult. Hope this help you a lot to learn the basic