Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

A matrix A is said to be a normal matrix if A*AT = AT*A where ATis the transpose

ID: 1850346 • Letter: A

Question

A matrix A is said to be a normal matrix if

A*AT = AT*A

where ATis the transpose of A.

Write a Matlab function called isnormal.m which takes as input a matrix A, and outputs the word

normal

if A is a normal matrix, and the phrase

not normal

if A is not a normal matrix. Furthermore, write a Matlab program called main.m which calls this function to check if the following matrices are normal:

Explanation / Answer

a) for file isnormal.m--> function y = isnormal(x) A = x*transpose(x); B = transpose(x)*x; if A==B 'normal' else 'not normal' end b) matrices are not given in question.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote