Info
此问题已关闭。 请重新打开它进行编辑或回答。
I have declared the variable, but i still get an error message " >> norm_noise_awgn = Noise_awgn/std_Noise_awgn; %Normalized signal Undefined function or variable 'Noise_awgn'"
1 次查看(过去 30 天)
显示 更早的评论
%awgn channels
Noise_awgn = randn(1,N);%Noise production
%AvgPower_Noise_awgn=sum(abs(Signal).^2)/N/snr_avg; %average power of noise
AvgPower_Noise_awgn=sum(abs(Signal).^2)/snr_avg;
std_Noise_awgn = sqrt(AvgPower_Noise_awgn);
Noise_awgn = std_Noise_awgn*Noise_awgn;
norm_signal_awgn = Signal/std_Noise_awgn; %Noramlized signal
>> norm_Noise_awgn = Noise_awgn/std_Noise_awgn; %Normalized signal
Undefined function or variable 'Noise_awgn'.
4 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!