// Calculate the thermal noise or white noise, Noise Power, and Noise Voltage.
K=1.38*10^-23; // Boltzmann's constant
B=10000; // absolute temperature
T=290; // bandwidth
// Thermal or white noise.
N=K*B*T;
disp("Noise =");
disp(N);
// Noise Power
Ndb=-174+10*log10(B);
disp("Noise Power =");
disp(Ndb);
// Noise Voltage of a Noisy resistor. Vn=sqrt(4*R*N);
// where, R=100. You can change the value of R.
Vn=sqrt(4*100*N);
disp("Noise Voltage =");
disp(Vn);
// Output
![Calculate the thermal noise or white noise, Noise Power, and Noise Voltage. Calculate the thermal noise or white noise, Noise Power, and Noise Voltage.](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhoSSgcS72kSSubVUJKjB8dzkB4r2zYp8D2BCJMLx-eITpBRh345p6OdcqiuztmfX2b5ZQaa6qNlD4i4D-YvLBjEzW0I2pPpEki9Yr3EugrUF0VKTq7Qea1jzVCU6uZSOMuOP9Hc1PFRQ/s640/Noise_Power.png) |
Calculate the thermal noise or white noise, Noise Power, and Noise Voltage.
|
Amazing codes man!
ReplyDeleteAll of them work without a hitch!