Inaccuracy in obtaining the Absorption coefficient
Ältere Kommentare anzeigen
Hello all,
I have an equation for attenuation of sound underwater. The expected plot of attenuation versus frequency is as shown below

But the obtained result is as below

clc
f= 0:1:1000;
xa = f.^2;
fa = (((0.11*(xa))/(1+(xa))) + ((44*(xa))/(4100+(xa))) + (2.75*(xa)/10000) + 0.003);
plot (f,fa);
The matlab code is as shown above.
For f=0, the plotted result should have been zero ( or 0.03 which is close to zero) as in first image. But the plotted value is somewhat near 2000.
Why am I not getting proper result?
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 20 Mär. 2016
0 Stimmen
What is the point of calculating ga, x, y, and so on, if you are not going to use them? You plot f against fa, and ignore everything else you calculated.
Where is your conversion to decibels?
Why is your x axis showing up to 1000 when you are plotting f on the x axis and f is at most 100?
1 Kommentar
Pramod Bharadwaj
am 20 Mär. 2016
Kategorien
Mehr zu Frequency-Domain Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!