In this video I go through solving the second practice final exam problem extrovert.m
In this video, I said there was no NaNs function- but there is! (what we did will still work, but this is faster)
You can use NaN as a function by typing
B = NaN(num_of_rows, num_of_columns);