Cody

Problem 45803. SatCom #7: Thermal Noise in a Receiver

Solution 3006823

Submitted on 29 Sep 2020 by Tim
• Size: 17
• This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
Bandwidth = 2e6; Noise_Temp = 200; N_Power=thermal_noise_power(Bandwidth, Noise_Temp) y_correct = -142.5786; assert(abs(N_Power-y_correct)<0.001)

N_Power = -142.5786

2   Pass
Bandwidth = 20e6; Noise_Temp = 120; N_Power=thermal_noise_power(Bandwidth, Noise_Temp) y_correct = -134.7971; assert(abs(N_Power-y_correct)<0.001)

N_Power = -134.7971

3   Pass
Bandwidth = 1; Noise_Temp = 290; N_Power=thermal_noise_power(Bandwidth, Noise_Temp) y_correct = -203.9752; assert(abs(N_Power-y_correct)<0.001)

N_Power = -203.9752

4   Pass
s=importdata('thermal_noise_power.m'); y_correct=false; assert(isequal(sum(contains(s,'regexp')),y_correct))

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!