random vibration PSD analysis
6 次查看(过去 30 天)
显示 更早的评论
I am performing a random vibration analysis using data I captured with my smartphones accelerometer to develop a PSD chart. The data I have is in .CSV format and I have developed a PSD curve using the following code:
filename = 'RV.CSV'; randvib = importdata(filename); freq=abs(randvib(:,1)); time=randvib(:,2); Fs=time(end)/length(freq); Hpsd=dspdata.psd(freq,'Fs',Fs); plot(Hpsd)
The curve seems to be reasonable (although there is looks messy) but it gives the y axis in dB/Hz, when I need in g^2/Hz. Is there a way to convert between these different units for the y axis?
Alternatively, is there a more efficient way of doing my analysis? The spectrum.welch or spectrum.periodogram seem more what I require but I'm not sure of a way to use data as opposed to a function.
Cheers
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parametric Spectral Estimation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!