⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 channel.m

📁 3 MATLAB functions for simulation of OFDM signal in Rayleigh fading channel. Including models for OF
💻 M
字号:
function [ch] = channel(amps,delays,bandwidth,channel_length)% ch is FIR filter response% amps is channel amplitudes (energy)% delays is channel tap delays (in microseconds)% bandwidth is system bandwidth (e.g. sampling frequency) in MHzamps = amps/sum(amps);k = floor(-channel_length/2):floor(channel_length/2);a = sqrt(amps/2) .* (randn(1,length(amps)) + j*randn(1,length(amps)));ch = zeros(1,length(k));for l=1:length(a)     ch = ch + a(l)*sinc(k-delays(l)*bandwidth);end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -