How to Load Handel in Matlab

How to Load Handel in Matlab thumbnail
Learn how to make Matlab play a clip from Handel's "Hallelujah Chorus"

Matlab is a matrix-based technical computing program and programming language for engineers. It contains several hidden features. "Load Handel" is a reference to one of these hidden features. This particular feature, also known as an "easter egg," allows users to hear a special audio when a few lines of code are typed in the command window. The audio clip is from the "Hallelujah Chorus" which is composed by George Frideric Handel.

Instructions

    • 1

      Open Matlab.

    • 2

      Type "load handel" in the command window.

    • 3

      Skip a line and type "sound(y,Fs)."

    • 4

      Press "Enter" and wait for the clip to play.

Tips & Warnings

  • Contrary to customary Matlab code syntax, you don't need to type semicolons at the end of the lines of code in this tutorial.

  • Make sure to type "handel" instead of "handle" or the audio clip will not play.

Related Searches:

References

  • Photo Credit Hemera Technologies/Photos.com/Getty Images

Comments

Related Ads

Featured