G = [4, 7, 0, 15; 5, -1, -3, 0; 6, 2, 17, 16] creates____ matrix 3 by 4 4 by 3 3
ID: 3782825 • Letter: G
Question
G = [4, 7, 0, 15; 5, -1, -3, 0; 6, 2, 17, 16] creates____ matrix 3 by 4 4 by 3 3 by 3 Write the command to find cosine in radians of a values. Assign these values to aa >> aa = cos(a) >> aa = cos d(a) Write a command to determine the number of elements of vector X. >> dim(X) >> size(x) >> length(X) If X = (2; -1; 0), Y - [x; 5; 0] will be a ___ vector. 1 by 3 3 by 1 5 by 1 6 by 1 Build a "row" vector m that has five elements, each with the value 0. >> m = zeros(S) >> m = zeros (1, 5) >> m = zeros(5, 1)Explanation / Answer
Q19:
G = | 4 7 0 15 |
| 5 -1 -3 0 |
| 6 2 17 16 |
It is 3 by 4 matrix. (3 rows, 4 column ) each row is separated by semicolon (;)
Q 20
aa = cos(a)
cos a find value in radians
cosd find value in degrees
Q 21
length(X) will give number of elements of vector
Q 22
Y = [ 2
-1
0
5
0]
It is 5 by 1 vector.
Q 23
m = zeros(5,1) gives a row vector
(m = zeros(5) give a matrix of 5*5, m = zeros(1,5) gives a coumn vector)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.