Class on February 25 2019

Chris ran an interactive session on MATLAB coding, using exercises to build stronger understanding of the syntax and semantics of the code.

Students worked in teams of three to visualize the memory model used in computation, using pennies, dimes, blocks, and wooden characters as props:



Dimes represented locations in memory that has been set with meaningful values, while pennies represented locations in memory that had been set to zero as an initialization value. Blocks represented the terms in memory currently being used in a timestep computation. The character represented the current timestep being considered. The blocks and character moved forward in space as students worked through code concepts on the blackboard:



Students continued working in their teams, coding in MATLAB and running code to debug errors.

Then students presented their code in teams, using a presentation style of a consulting company presenting to clients:



Some student teams were able to code the plotting requirements for homework assignment #4, but all teams were able to finish the coding for the time step computations — to have a finalized memory model (with which to do reporting with plots):







Students were asked to finish up homework assignment #4 for next class.