0
$\begingroup$

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?

$\endgroup$
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$ Jun 11, 2018 at 10:02

1 Answer 1

0
$\begingroup$

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

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.