Play media comment.In the video i did not mention the function: eye. It is a nice one and allows you to easily create a identity matrix, i.e. a square matrix with ones on the diagonal. Example: Typing eye(3) in MATLAB, would create the matrix
[100010001]