Orthogonal frequency division multiplexing for improving the performance of terahertz channel