Unable to render {include} The included page could not be found.
The Need for Array Pre-Allocation
The MATLAB code analyzer produces two warnings about our x and t arrays changing size on every iteration as demonstrated in the video below.
The following video briefly explains the concept of array pre-allocation. See this blog-post for more information about pre-allocation.