Sonar Demo
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 (2024). Sonar Demo (https://www.mathworks.com/matlabcentral/fileexchange/1731-sonar-demo), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
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 >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.