Mathcad stft function
How do I calculate the corresponding frequencies provided by the stft function?
How do I calculate the corresponding frequencies provided by the stft function?
Unfortunately, the help and documentation is not clear on calculating frequency which is more or less automatic within competitive products. However by trial and error, it appears that stft returns content with max frequency aprox equal to sampling frequency. Consequently, half of the requested frequencies will be withn the nyquist frequency. There is still some issue related to the size and indexing (origin=0 or 1, and max length of the returned vector). Index/length*sampling frequency is the best aproximation I've been able to use.
I prefer DFT for some analysis, but the easiest way to create a spectrogram is with stft.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.