clear; clc;

% creates a zero matrix with 3 rows and 3 columns. a [0,0;0,0;0,0]
a = zeros(3,2);

% returns an unit matrix with 5 rows and 4 columns. b  5x4 double
b = ones(5,4);

% returns an identity martis with 4 rows and 4 columns. c 4x4 double
c = eye(4,4);

% returns the inverse of given square matrix. d  4x4 double
d = inv(c);

% returns the determinant of given square matrix. e   1
e = det(c);

% a constant multiplied to a sqaure matrix 'c'. f   4x4 double
f = 3*[c];

results matching ""

    No results matching ""