19dan87
Newbie level 3

Hi,
I am simulating vibrations in simulink and processing my results in matlab. I am trying plot the PSD for my acceleration results using pwlech method.
When I plot the PSD plots from the methods below
(NOTE:I have a sampling rate of 0.006 so that means I am using a sample frequency of Fs=1/0.006=166)
Pwelch(x,[],[],2024,fs)
Or [Pxx,f]=pwelch(x,[],[],2024,fs) plot(f,Pxx)
The results on the Y axis are in the form of dB/Hz. How do I changed the plot/results so that I can plot PSD acceleration, ie. ms^-2 back . I want to show the plots in the form of the units used in the simulations.
Thanks
Dan
I am simulating vibrations in simulink and processing my results in matlab. I am trying plot the PSD for my acceleration results using pwlech method.
When I plot the PSD plots from the methods below
(NOTE:I have a sampling rate of 0.006 so that means I am using a sample frequency of Fs=1/0.006=166)
Pwelch(x,[],[],2024,fs)
Or [Pxx,f]=pwelch(x,[],[],2024,fs) plot(f,Pxx)
The results on the Y axis are in the form of dB/Hz. How do I changed the plot/results so that I can plot PSD acceleration, ie. ms^-2 back . I want to show the plots in the form of the units used in the simulations.
Thanks
Dan