summaryrefslogtreecommitdiff
path: root/149/CH2/EX2.17/ex17.sce
blob: b85b6e91a953ce3f8c64936c28dd6f5a5e772c0c (plain)
1
2
3
4
5
6
7
8
9
clear
clc
A=[1 3 0;-1 2 1;0 0 2]
B=[2 3 4;1 2 3;-1 1 2]
disp("AB= ")
A*B
disp("BA= ")
B*A
disp("clearly AB is not equal to BA")