Question: 1- Create a vector 'v': [1 3 5 7 9 11 13] using the colon operator. Create another vector 'w' that contains the square of

 1- Create a vector 'v': [1 3 5 7 9 11

1- Create a vector 'v': [1 3 5 7 9 11 13] using the colon operator. Create another vector 'w' that contains the square of each element of 'y'. 2.-Given a matrix A: A = [1 2 3; 456; 7 8 9] Assign to variable 'r' the value contained in element (3,2) of A. Use the colon operator to assign the 1 row of A to a variable y'. Assign to variable 'z' the 2nd and 3 columns of A (use the Colon operator). 3- Define a matrix B: B = [1 2; 2 1] Compare B*B, B^2 and B.^2 and comment on what each means. 4- Consider the following values of the radii of circles: 2, 4, 6, 8, ......, 30. Find the values of the areas of these circles and store them in a variable 'areas'. og values of the files and store t 5- Create a time vector 'tl' that goes from 0 to 5 seconds with increment of 0.01. 6- Calculate A+B, A*B, A2, BI and B-7, given the following: A = i 0 21 2 5 4 | -1 87] B = [7 8 2] 3 5 9 [-1 3 1

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!