I struggling at transforming a 1D breathing signal into 2D spectrograms, power spectral density as a function of time and frequency. Does anyone have an idea about that?
1
-
$\begingroup$ Welcome, please read How to Ask. At that moment it is unclear what exactly your problem is, which language you are using, etc ... $\endgroup$ – Irreducible Jun 11 '18 at 10:02
Add a comment
|
$\begingroup$
$\endgroup$
0
If you're working in the MATLAB environment, the STFT of a 1D signal can be obtained by using the Spectrogram() command. Refer here
And as for PSD, you can use the FFT to obtain the same. Refer here