Unit of amplitude on y axis in linear plot.
11 次查看(过去 30 天)
显示 更早的评论
I have a doubt about the unit of amplitud eon y axis on linear plot of a sound wave in signal analyzer.
In lograthmic scale it is dB but I am confused about what it should be on the linear scale and what is the maths behind the conversion that would be a plus if someone has any idea bout it.
5 个评论
Renato SL
2019-9-6
For this part
ylabel('Linear power(V)')
please make sure if the signal is power or voltage. As it is, it doesn't make sense to me. Volt is not the unit for power.
Regarding the conversion to dB, it's there in Simplelinespectrum. The comments in the code are there to help you.
It started with removing the mean, then compute the FFT (Y), then the normalization (Ya), and finally in the last line it is converted to dB (YdB).
In general, if you have a code, I believe the best way to get an understanding of it is to ask the author.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Digital Filter Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!