Question: Which of the scripts that follow creates a matrix N which is normal. Remember a normal matrix is one that commutes with its transpose, in
Which of the scripts that follow creates a matrix N which is normal. Remember a normal matrix is one that commutes with its transpose, in other words N*N' is the same as N'*N. User matlab to check.
To check compute the norm of the difference between N'*N and N*N'. If it is a tiny number it is normal.
N = rand(3,3)-rand(3,3);
N = rand(3); N = N+N^-1
N = rand(3); N = N-N'
N = rand(3,3)+rand(3,3);
N = rand(3); N = N-N^-1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
