blob: 80c9118aeb5d0f607e1b84bdae9c4fc4e87f97ee (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 1_5
clc;
clear;
//To Calculate the amplitude ratio of the sources
Imax=9
Imin=1
Imax_Imin=Imax/Imin
amax_amin=sqrt(Imax_Imin)
a1_a2=amax_amin-1
printf("the ratio of amplitudes %d/%d",a1_a2,1)
|