Matlab for STFT === * ##read wav ```matlab filename = 'output.wav'; [y,fs2] = audioread(filename); ``` [document](https://ww2.mathworks.cn/help/matlab/ref/audioread.html?requestedDomain=zh) * ##STFT ```matlab s = spectrogram(y,64,48); ``` [document](https://ww2.mathworks.cn/help/signal/ref/spectrogram.html) * ##SAVE array ```matlab save('testspeech.mat','s'); ``` * ##python read .mat(type:dict) ```python import scipy.io mat = scipy.io.loadmat('testspeech.mat') ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up