OFDM.m
上传用户:m_sun_001
上传日期:2014-07-30
资源大小:1115k
文件大小:1k
- % Run OFDM simulation
- tic % Start stopwatch to calculate how long QAM simulation takes
- disp(' '),disp('------------------------------------------------------------')
- disp('OFDM Simulation')
- tx
- ch
- rx
- % Stop stopwatch to calculate how long QAM simulation takes
- OFDM_simulation_time = toc;
- if OFDM_simulation_time > 60
- disp(strcat('Time for OFDM simulation=', num2str(OFDM_simulation_time/60), ' minutes.'));
- else
- disp(strcat('Time for OFDM simulation=', num2str(OFDM_simulation_time), ' seconds.'));
- end