Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The MATLAB code analyzer produces two warnings about our x and t arrays changing size on every iteration as demonstrated in the video below. These warnings can be addressed by pre-allocating the memory for these arrays.

HTML
<iframe width="600" height="338" src="//www.youtube.com/embed/N9JEnT76BKY?rel=0" frameborder="0" allowfullscreen></iframe>

...