0

Does anyone know how to code in matlab help me with this problem

Question One: Perform the following to the matrix 3412 5202 1 3 3 2 0922 Save each output in a variable named the same as its branch a. Extract first row (𝑎) b. Extract last column (𝑏) c. Multiply row vector 𝑎 with row column 𝑏 d. Change row column 𝑏 to be a row vector e. Find the sum of all elements of 𝑀 f. Find the identity matrix using the inverse matrix property 𝐴 ∗ 𝐴−1 = 𝐼 g. Find the number of rows and columns of 𝑀 [𝑟, 𝑐] h. Check if this matrix has more –ve or +ve elements, print ‘Positive’ if +ve elements are more than –ve ones, print ‘Negative’ otherwise. (consider 0 a +ve element) i. Replace –ve elements with zeros and show the new matrix 𝑀 j. Generate the following matrix by using concatenation property on matrix 𝑀 3434 𝐽=5252 1 3 1 3 0909

16th Apr 2020, 12:40 PM
Moe Faris
Moe Faris - avatar
1 Antwort
+ 3
Please avoid mentioning multiple languages in thread tags, focus on your primary (matlab). People searching for threads related to C#, C++, Java will be disappointed when they find this thread in the search results because the language is included in tags of a thread about matlab. Hope you understand 👍
16th Apr 2020, 12:57 PM
Ipang