Question: Assignment # 1 ( Vectors & Matrices ) If M = [ 3 1 0 - 1 7 7 ] & N = [ 4
Assignment #
Vectors & Matrices
If & perform the following commands on MATLAB:
Add to and assign it to variable
Find the scalar multiplication of to multiply each elet. with corresponding elet. and assign it to variable B
Find the scalar Division of to and assign it to variable
Sort and assign it to variable D
Sort in descending order and assign it to variable
Create a Raw vector consisting of the elements of and
Create :
Create N:
Using linearly spaced function, create a row vector O starting from value till value Of length
Create a Matrix W consisting of O as its first row and" as the second raw.
Find dimension of Matrix then assign it to variable ; then assign variable b to Find #rows" in and assign variable c to find # columns" in
Assign value to
:
:
W:
W:
invW and assign it to variable"
end and assign it to variable"
max;max;; prod
using matlab
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
