Unit for linear power in line spectrum analysis
6 次查看(过去 30 天)
显示 更早的评论
I am analysing a sound wave. I use audioread function of matlab for my analysis and plot my time series and frequency domain curves. When I use frequency domain I get linear and lograthmic plot. In lograthmic plot unit is "dB" I am confused what shoild be the unit in my linear plot. Should it be "V" or "Pa".
I want to know what units should I use here and what maths I should use to back it up, for my conversion from dB to linear scale.
-----------------------------------------------------------------------------------------
%===line spectrum
fSep=1/(N*h);
disp(['FFT frequency separation = ' num2str(fSep) ' Hz'])
[Y,f,YdB]=SimpleLineSpectrum2(y,h,0,fny);
figure
subplot(211)
plot(f,Y,'LineWidth',1.5),grid
title(['Line Spectrum of ' name ],'fontweight','bold','fontsize',10)
ylabel('Linear power') % "I want to know what UNIT should i use here"
xlabel('Frequency (Hz)')
axis([fL fR 0 max(Y)])
subplot(212)
plot(f,YdB,'LineWidth',1.5),grid
title('Line Spectrum in dB','fontweight','bold')
ylabel('power (dB)')
xlabel('frequency (Hz)')
axis([fL fR dBmin 0])
pause
------------------------------------------------------------------------------------------
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spectral Measurements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!