Suppose X, Y and Z are new variables, with the following Matlab statement >> X = [-10:-1:-15;-2:3;linspace(20,30,6);logs
Posted: Mon May 02, 2022 3:49 pm
Suppose X, Y and Z are new variables, with the following Matlab
statement
>> X =
[-10
-15;-2:3;linspace(20,30,6);logspace(1,2,6)];
>> Y = ones(4,3);
>> Z = [X(:,2:4) Y];
a) How many elements are generated in X, Y and Z?
b) X+Y,X+Z
c) X(:,1:3)Y, XZ
d) X2
e) [YX(:,3:6)]T
f) Z-1
g) XTZT
h) X2+Z2–XZ
i) determinant of X(:,3:6), determinant of Y and
determinant of their multiplication.
statement
>> X =
[-10
>> Y = ones(4,3);
>> Z = [X(:,2:4) Y];
a) How many elements are generated in X, Y and Z?
b) X+Y,X+Z
c) X(:,1:3)Y, XZ
d) X2
e) [YX(:,3:6)]T
f) Z-1
g) XTZT
h) X2+Z2–XZ
i) determinant of X(:,3:6), determinant of Y and
determinant of their multiplication.