image thumbnail

Sonar Demo

version 1.1.0.1 (7.14 KB) by Robert Bemis
Sonic distance measurement using Windows sound card for data acquisition.

10.1K Downloads

Updated 01 Sep 2016

View License

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 (2022). Sonar Demo (https://www.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 Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!