Question: 1 . Creating vectors a ) Create a vector, x , to contain the values of { 1 1 6 , 2 1 6 ,

1. Creating vectors
a) Create a vector, x, to contain the values of {116,216,218,219}, and display values in x.
b) Create a vector, y, to contain a sequence of values from 10 to 24 by increment of 2;
then display values in y.
c) Create a vector, z, that repeats the numbers 2 to 5 three times, and display values in z.
d) Create a vector, w, that contains words goodbetterbest, and display values in w.
2. Create a matrix:
a)3 rows and 2 columns as the following matrix
123122342334534
b) Show the value in the third row and second column using techniques for subscripting matrices. (other methods will not receive marks)
c) Calculate the mean of the first column.
d) Calculate the standard deviation of the third row.

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!