blob: 5ce4edd8bccb61a0c72dc17192ce4f73f2d61126 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Exa 1.27
format('v',7);
clc;
clear;
close;
// Given data
Ao= 86;// in dB
A= 40;// in dB
f=100;// in kHz
f=f*10^3;// in Hz
// From 20*log(S) = 20*log(Ao/A), where S, stands for sqrt(1+(f/fb)^2)
S= 10^((Ao-A)/20);
// S= sqrt(1+(f/fb)^2)
fb= f/sqrt(S^2-1);// in Hz
Ao= 10^(Ao/20);
ft= Ao*fb;// in Hz
ft= round(ft*10^-6);// in MHz
disp(Ao,"The value of Ao is : ")
disp(fb,"The value of fb in Hz is : ")
disp(ft,"The value of ft in MHz is : ")
|