Question: this activity you will work with the vectors x and y in two different forms. % column vectors xc and yc . Create the row

this activity you will work with the vectors x and y in two different forms. %column vectors xc and yc. Create the row vectors xr and yr. XC =[1; 2; 3] yc =[2; 2; 2] xr =[123] yr =[222]%Use the dot) command to find the dot product of vectors x and y. Note the result is the same %whether the dot product is found using the associated row vectors or column vectors. zc = dot(xc, yc) zr = dot(xr, yr)%Use the appropriate transpose when calcuating the dot product of x and y using matrix multiplication. Note the result is the same whether it is found using the associated row vectors or column vectors. zdc = xc.'* yo zdr = xr * yr.' Script @ Save C Reset MATLAB Documentation 1%Create the row vectors a=[1,-2,0,7] and b=[-3,-1,5,0].2.3%Create the column vectors c=[3,1,4,-2] and d=[0,-2,2,1].45%Use the dot() command to find the dot product of vectors a and b. Store this value in gl.67%Use matrix multiplication to find the dot prod

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!