Hi all. Im using the following code to calculate the absorption coefficient using the transfer function of an impedance tube

I import data that has 4 columns.1st being the order 2nd the x value 3rd being the y real value and the 4th being y imaginary value. But when I compute the data my plot is not what I am expecting.What have I done wrong?|

1 Kommentar

What material are you testing? What's your sample rate? What do your transfer functions looks like?

Melden Sie sich an, um zu kommentieren.

Antworten (6)

yes sorry the follow on from that code
%plot results freq = zeros(((fu-fl)/fs)+1,1); for z=1:1:((fu-fl)/fs)+1 freq(z,1) = z*fs-1; end
figure plot(freq,alpha,'b','LineWidth',1) xlabel('Frequency (Hz)','FontSize',20,'FontName','times new roman') ylabel('Sound Absorption Coefficent','FontSize',20,'FontName','times new roman') axis([50 fu 0 1]) set(gca,'FontSize',16)
it is supposed to be one curve over the frequency span. Any reasons to why this might be the case?

Gefragt:

am 22 Mai 2014

Kommentiert:

am 16 Apr. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by