Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1.1) If a variable has dimensions 3 x 4, it would be considered (select all that apply) a) matrix b) row vector c) column vector

image text in transcribed
1.1) If a variable has dimensions 3 x 4, it would be considered (select all that apply) a) matrix b) row vector c) column vector d) scalar 1.2) If a variable has dimensions 1 x5, it would be considered (select all that apply) a) matrix b) row vector c) column vector d) scalar 1.3) If a variable has dimensions 5 x 1, it would be considered (select all that apply) a) matrix b) row vector c) column vector d) scalar 1.4) If a variable has dimensions 1 x 1, it would be considered (select all that apply a) matrix b) row vector c) column vector d) scalar 2. Using colon operator, create the following row vectors a) 0 1 2 3 4 5 6 7 8 9 10 b) 5.000 5.100 5.200 5.300 5.400 5.500 5.600 5.700 5.800 5.900 6,000 c) 0 0.250 0.500 0.750 1.000 1.2500 1.5000 1.750 2.000 d) 10 9 8 7 6 5 4 3 2 1 0 3. Use linspace function to create a vector, vec, which consist of 50 equally spaced points from -pito 4. Use inspace function and also the colon operator create the following row vectors a) 20 19 18 17 16 15 14 13 12 11 10 b) 2.0000 3.5000 5.0000 6.5000 8.0000 5. Create the following two row variable vect = [1 2 3 4 5 vec2 [6 7 8 9 10 5.1) Concatenate vec1 and vec2 together to create a vec3 of size 1 x 10 5.2) Create a matrix, mat (size 2x5) where the first row is vect and second row vec2 5.3) use transpose() on vect and vec2, and create a matrix (size 5x2) where first column is vect' and vec2

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

Advances In Databases And Information Systems Second East European Symposium Adbis 98 Poznan Poland September 1998 Proceedings Lncs 1475

Authors: Witold Litwin ,Tadeusz Morzy ,Gottfried Vossen

1st Edition

3540649247, 978-3540649243

More Books

Students also viewed these Databases questions

Question

mortgage payment that Mr. Assan can have

Answered: 1 week ago

Question

What is the best conclusion for Xbar Chart? UCL A X B C B A LCL

Answered: 1 week ago