summaryrefslogtreecommitdiff
path: root/3293/CH1/EX1.13/Ex1_13.sce
blob: 49d5376b3ce31427ab9f0f0097873e7fd5208adf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//page 20
//Example 1.13
clear;
close;
clc;
disp('A 2*2 elementary matrix is one of the following:');
A = [0 1;1 0];
disp(A);
disp('---------------------');
disp('1   c');
disp('0   1');
disp('---------------------');
disp('1   0');
disp('c   1');
disp('---------------------');
disp('c   0');
disp('0   1');
disp('where, c is not equal to 0');
disp('---------------------');
disp('1   0');
disp('0   c');
disp('where, c is not equal to 0');
//end