Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise L 1 [ 2 0 pts ] Consider the following matrices A , B , and C , and use them in all parts
Exercise L
pts Consider the following matrices and and use them in all parts below.
;;
a What is What is Show that
b Show that
c Show that
d Show that Show that
e What is What is What is
Show that
Show that
f What is det What is det What is det
Show that detdet
g Show that detdet
NOTES:
Write a MATLAB script to answer these questions. Be sure to include your name, a date, the
assignment, and a description.
Your script should be efficient. This means you should define variables that you are using more than
once, eg the matrix should be defined, as it can be used several times.
Note that the best way to "show that" something is true or not true is to construct an expression that
is output to the Command Window. For instance, for part b rearrange the equation so that
something is equal to zero, compute that expression, and an output of an array of s is sufficient to
show that the left side is equal to the right side. DISP commands are not needed, especially if you
choose meaningful variable names. Logical expressions are also not needed.
If possible, write each check in one expression, ie you never need to define something, then use it
once. For example, once and are defined, you can write the checks for parts b and c in one
expression each.
On the other hand, if you need something multiple times, define it then use it For example, in part
d you will use and twice each, so you should define each before writing the checks.
Comments should be specific, telling the reader exactly what you expect the result of each check to be
For instance, if you expect a array of s then that's what you should write as your comment.
The output needs to be meaningful, with meaningful variable names, eg checka for the first check.
Suppress output for any line of code that does not specifically answer one of the questions above. For
instance, you do not need to output AB in part d
Combine the MATLAB script and output from the Command Window into a single PDF before you
submit it to Moodle. Clear the Command Window before your last run.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started