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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!