我需要确认通过MATLAB中的walsh代码扩展信号是否正确,
假设我正在使用QAM调制,那么我需要将信号扩展到沃尔什码上,下面的步骤是正确的:
M = 4;
alphabit = modem.qammod('M', M ) ; %QAM modulation
mod = transpose(modulate( alphabit , (0:M-1)));
avg = mod'*mod / M ; % average power of constellation points
mod = mod / sqrt(avg); % to make E[x^t x ] = 1
H = hadamard(4); % The walsh code generation
H_use = H(:,2); %using the second column for spreading.
S_coded = kron(mod,H_use); % Spread the modulated data mod over the walsh code
我的问题是关于最后一步,对吗,我们如何扩展调制信号? ..