Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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?
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
Required, but never shown