Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

Maple/Mathematica/Matlab hornresp program
Maple/Mathematica/Matlab hornresp program
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Thread Tools Search this Thread
Old 24th February 2013, 05:16 AM   #11
joeladis is offline joeladis  United States
diyAudio Member
Join Date: Nov 2012
Default Second Installment of Matlab Horn Programs

Attached is a second installment of Matlab Horn programs. The first installment was posted earlier on this thread and runs independently of this posting. My primary aim in the attached Matlab programs was to address the isophase propagation issue in an exponential horn. I wanted to be able to reproduce what David McBean's Hornresp program does when the ratio of horn output circumference to cut-off wavelength exceeds 1.0 (David's Cir).

The attached Zip file, MatlabHornFilesII.zip, contains two new Matlab programs, IsoExp.m and InfExpHorn.m as well as some output and comparison plots and instructions.

The program should run on any platform on which Matlab runs. Please first read the 'Read Me First' and 'Disclaimer' files also contained in the Zip file.

Finally, once again I would like to thank David McBean for his communications that pointed me in fruitful directions, and for his willingness to allow me to include comparison plots of the Matlab output with his Hornresp program.
Attached Files
File Type: zip MatlabHornFilesII.zip (480.6 KB, 65 views)
  Reply With Quote
Old 26th January 2014, 11:37 PM   #12
tca is offline tca  Portugal
diyAudio Member
tca's Avatar
Join Date: Jan 2011
Location: Lisboa
Originally Posted by jcx View Post
Hi, I've found your entry while looking for a similar answer to the same problem: building a GNU/Octave program to horn simulation.

Did you check that paper?

Geddes talks about the validity of the Webster equation and states that the horn equation is only valid for as long as the magnitude of the rate of change of sqrt(S) with x is smaller than unity (the tube flares slowly). It states Morse and Feshbach (pg.1352).

He also mentions Morse's "Vibration and sound". But he misses an important fact. On pg. 269 there is a simple calculation that shows that the conical, exponential and catenary horns *are* exact solutions of the Webster equation, but still the restriction of the rate of change of sqrt(S) with x applies.

I'll look at your Matlab code. Thanks for sharing.
"The future is here, it's just not evenly distributed yet." -- William Gibson
  Reply With Quote


Maple/Mathematica/Matlab hornresp programHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Finite Element Methods + Matlab thadman Multi-Way 2 23rd January 2010 02:45 AM
Matlab mikeks Everything Else 3 2nd May 2007 08:30 PM
Matlab eag The Lounge 1 10th March 2006 05:19 PM
Matlab or Mathematica -- which is your preference? rif Everything Else 7 11th May 2004 06:34 AM
Modeling speakers in Matlab? Serow Multi-Way 0 7th December 2002 10:22 PM

New To Site? Need Help?

All times are GMT. The time now is 10:24 AM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio