Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Help On MathLab code please i will give thumbs up for work..thx (a) Create the following matrix by typing one command. Do not type individual
Help On MathLab code please i will give thumbs up for work..thx
(a) Create the following matrix by typing one command. Do not type individual elements explicitly 0 0 0 0 0 0 0 0 0 0 E= 0 0 1 60 0 0 2 30 0 0 3 0 0 -6 -12 (b) Create two row vectors: a = [3,9,-0.5,3.6,1.5] and b=[12,0.8,6,5,-7.4] and then use one command to create the following matrix by combining E, a and b. 3 12 0.8 0 0 0 0 0 0 0 0 0 0 F= 0 0 1 60 0 0 0 2 30 -6 0 0 3 0 -12 6 9 -0.5 3.6 1.5 5 -7.4 (c) Use matrix indexing to extract the 3x5 matrix described by the elements in the last 3 rows and last 5 columns of F. (d) Use logical indexing to extract all the elements of the matrix F that have values >0
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