Question: The aim is to start developing an R or MatLab toolkit for deaing with matrix problems. Later assignments will continue this. This part is worth
The aim is to start developing an R or MatLab toolkit for deaing with matrix problems. Later assignments will continue this. This part is worth 40 marks and a questions must be attempted by both MATH 4370 and MATH 7370 students. . Use R or MatLab . The result of this part of the assignment can consist of two parts: a non-mandatory companion PDF file with extended documentation of the functions produced, stating explicitly the definitions and theorems used, etc.; an R file (or multiple MatLab files) containing all the functions. The companion file is optional: if you comment your code abundantly, then it should not be required if no further mathematical developments are . The functions must be named and take arguments as prescribed here, so that a single test function can be used to verify the results for all students . Your companion file, if any, should be in PDF format Given a matrix M E Mm, each function should first ensure that the matrix has the proper size (eg be square if the result being applied involves a square matrix). The following functions should be available: . is .real.matrix(M) is true if M M(R) . is .complex.matrix(M) is true if M e M1(C) and 31, j such that 3(my)0 . isdiagonal.natrix(M) is true if M E M(C) is a diagonal matrix . is lower triangular matrix(M) is true if M EM(C) is a lower triangular matrix. . is upper triangular matrix(M) is true if M E M(C) is an upper triangular matrix . is.triangular matrix(M) is true if M E M(C) is a triangular matrix . is hermitian matrix(M) is true if MEM(C) is a Hermitian matrix . is.skew hermitian matrix(M) is true if M EM(C) is a skew Hermitian matrix
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
