View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Sonar Demo

3.8 | 9 ratings Rate this file 11 Downloads (last 30 days) File Size: 7.14 KB File ID: #1731 Version:
image thumbnail

Sonar Demo


Robert Bemis (view profile)


22 May 2002 (Updated )

Sonic distance measurement using Windows sound card for data acquisition.

| Watch this File

File Information

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.

Required Products Data Acquisition Toolbox
MATLAB release MATLAB 6.1 (R12.1)
Other requirements Windows sound card, speaker and microphone (preferably with ability to change separation distance).
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (10)

30 Jun 2008 david via

06 Jun 2008 deep sing

i tried it by playing a sample wav file..but the execution of sonar_anal file gives the follwing error "Input argument "fig" is undefined". Can u elaborate on ways to execute the sonar demo considering my novice exposure to matlab

18 Oct 2006 Muhammad Shahzad


18 Oct 2006 Muhammad Shahzad

for checking

Comment only
16 May 2006 magrini antonio

24 Aug 2005 neila castellanos lozano

30 Jul 2005 lalit dhingra

ver good

10 Aug 2004 Mohamed Alzebdah

Has a good Accuracy in long distance insted of small distance.Could be improved if the ability of collaboration is added.
But in the overall "Well done" and Thank you.

19 May 2003 Vladimir Molchanov

13 Jan 2010 1.1


01 Sep 2016

Updated license

Contact us