• Portfolio
  • Aviation
  • Blog
  • About
Menu

David S Miller

  • Portfolio
  • Aviation
  • Blog
  • About
Screen Shot 2015-04-10 at 12.48.56 AM.png
Screen Shot 2015-04-10 at 12.49.32 AM.png
Screen Shot 2015-04-10 at 12.49.16 AM.png

MATLAB Mini Project: Standing Wave Generator

April 10, 2015

One of my responsibilities as a teaching assistant at BU Academy was to cover any classes the teacher (Mr. Gary Garber) could not make. This week he is traveling with the BU Academy FIRST Robotics team to the FIRST competitions and I'm covering some of his classes. 

Right now, the class is just starting standing waves. It can be tricky to visualize how the waves actually reflect and interfere with each other. If you're using a spring or a rope to demonstrate this effect, damping is often an issue and other parameters can be difficult to control. If you're using a simulation, the waves usually travel too quickly and it can be difficult to see what's going on. I decided to write a quick MATLAB script to help my students visualize how standing waves form. 

The script basically plots several cycles of a sine wave as it travels down a 'string'. Both the input and the string's response (what we actually see the string doing) are plotted on top of each other so that they can be compared. I took some screencasts and some screenshots to better illustrate the process. It's important to note that this simulation doesn't model resonance or harmonics; it simply reflects the incoming waveform off the wall and adds it to the rest of the wave form. 

This video shows the typical standing wave we are used to seeing. The nodal points can clearly be seen. I took a few other videos showing different inputs, but they don't all fit here. Those videos have been left as an exercise for the reader.

Download the MATLAB file here.

$\setCounter{0}$
In Engineering Education, MATLAB Projects Tags MATLAB
← MATLAB Project: Accelerometer Position Transducer GUIMATLAB Project: Airfoil Generator →

Blogpost Search

Blogposts by Category

Select Category
  • Academic Projects
  • Aviation
  • BreakerBot
  • Engineering Education
  • Illusionist's Locket
  • MATLAB Projects
  • Machining Projects
  • Personal Projects

Archive

  • May 2024
  • December 2019
  • November 2019
  • September 2019
  • April 2017
  • January 2017
  • August 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • November 2015
  • October 2015
  • June 2015
  • April 2015
  • February 2015
  • January 2015

Copyright © David Miller 2019