Real-time Matlab Oscilloscope
The two most basic equipements for any audio research/development laboratory is a signal generator and an oscilloscope. This post provides a Matlab code with both implemented together in a DSP Toolbox in real-time. It can generate a sine wave of the desired frequency, send it through your sound card, and analyze the waveforms of the sound card inputs.
This Matlab tool is used during works of "Transducers Measurement" subject in the 3rd semester of International Master's Degree in ElectroAcoustics (IMDEA).
Download the Matlab oscilloscope : oscilloscope.zip (23.1 KB)

After starting the oscilloscope, a window with available sound-cards for both input and output is displayed. Your selection is saved for next time. This window can be disabled by setting the following variable (line 17 of oscilloscope_SOUND_CARD.m) to zero:
ASK_FOR_NEW_SOUND_CARD = 0;
