This is an extension of the real time FFT demo provided with the data acquisition toolbox (demoai_fft). It adds digital third octave filtering to the incoming data stream.
Works with any analog input source from the Data Acquisition Toolbox.
This uses a few files from the Octave Toolbox, with slight modifications and additions. The necessary files are included in this download, but you should get the original (see Contributing Files, below).
MathWorks Data Acquisition Toolbox Team (2021). Real time octave analysis (https://www.mathworks.com/matlabcentral/fileexchange/3076-real-time-octave-analysis), MATLAB Central File Exchange. Retrieved .
I've not read it carefully,however,from the result of it I think it is good.
The figure it give tells me the voltage ?spectram and Octave.That is good.
Change line 332 TimerFcn to TimerAction for it to work for me (Matlab R12), after that works well!
This toolbox is very useful for the reasearch about the octave analysis
very nice example of using fft on a live data stream, works well with MCC daq as well as soundcard. Easy to use with minimal knowledge of DAQ toolbox
Still haven't tried it (don't have the DAQ toolbox), but if you're going to use this submission, take a look at my BUG warning on 'octave'. (Sorry for its ugly formatting, I didn't know new lines are ignored)
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!