Sonar Demo
Version 1.1.0.1 (7.14 KB) by
Robert Bemis
Sonic distance measurement using Windows sound card for data acquisition.
In this demo the Windows sound card is used as a data acquisition device. A chirp waveform is played out the speaker and captured by the microphone concurrently. The time delay between pitch and catch indicates separation distance. The time delay is determined using signal processing concepts (cross correlation and Hilbert pre-envelope). A graphical user interface makes operaton simple. This demo illustrates the basic principle; distances are not calibrated for accuracy.
Cite As
Robert Bemis (2026). Sonar Demo (https://in.mathworks.com/matlabcentral/fileexchange/1731-sonar-demo), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12.1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Radar > Phased Array System Toolbox > Beamforming and Direction of Arrival Estimation >
- Signal Processing > Audio Toolbox > Audio I/O and Waveform Generation >
Find more on Beamforming and Direction of Arrival Estimation in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
