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$
  • $\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
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$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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