Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Questions 4- 13 refer to the following arrays: [2581114 171 3 6 9 12 15 18 s 10 15 20 25 30 A-4 7 10

image text in transcribed
Questions 4- 13 refer to the following arrays: [2581114 171 3 6 9 12 15 18 s 10 15 20 25 30 A-4 7 10 13 16 19 B-35 40 45 50 55 60 65 70 75 80 85 90 5 8 11 14 17 20 16 9 12 15 18 21 9 8 7 6 5 4 3 2 1] 4) Which of the above arrays is also a vector? a) A vc)B d) both a and b e) all of the above 5) Which command will create array A? a) A-(2:3:17, 3:3:18, 4:3:19, 5:3:20, 6:3:21) b) A-12:3:17, 3:3:18, 4:3:19, 5:3:20, 6:3:21] c) A-[2:17:13; 3:18:3; 4:19:3; 5:20:3; 6:21:3] d) A-[2:3:17; 3:3:18; 4:3:19; 5:3:20; 6:3:21] e) none of the above 6) Which command will create array B? a) B-[linspace( 5,30,6);linspace(35,60,6) linspace(65,90,6)] b) B-[linspace( 5,30,5) linspace(35,60,5):linspace(65,90,5)] c) B [linspace( 30,5,5);linspace(60,5,35);linspace(90,5,65)] d) B-[linspace( 5,5,30);linspace(5,35,60);linspace(5,65,90)] e) B-linspace( 5,5,30) linspace(35,5,60) linspace(65,5,90)] 7) Which command will create array v? Avector(9:1) b) v-9:-1:1 c) v-matrix(9:1) d) v-linspace(1:9) e) none of the above

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

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions

Question

3. The group answers the questions.

Answered: 1 week ago