How to get the FFT of the audio sample from videoFileReader object
이전 댓글 표시
I am a beginner in Matlab and I wanted to get the power spectrum values from the audio sample of a given frame in a video. I tried doing this.
[I,AUDIO] = step(videoFReader)
y = fft(AUDIO)
but it is giving me an error undefined function 'fft' for input agruments of type 'int16'
답변 (1개)
Honglei Chen
2013년 6월 5일
you can do
y = fft(double(AUDIO))
카테고리
도움말 센터 및 File Exchange에서 Audio Processing Algorithm Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!