Info
This question is closed. Reopen it to edit or answer.
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 view (last 30 days)
Show older comments
%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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!