Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 9th International Conference Dasfaa 2004 Jeju Island Korea March 2004 Proceedings Lncs 2973

Authors: YoonJoon Lee ,Jianzhong Li ,Kyu-Young Whang

2004th Edition

3540210474, 978-3540210474

More Books

Students also viewed these Databases questions