Mathc matrices/02c
Apparence
Tableaux de quatres matrices sur deux lignes sous forme d'image couleur indexée.

Copy/Paste into the octave window
% subplot(abc):
%
% a: the number of rows
% b: the number of columns
% c: the plot index.
%
% Matrix 2x2 -------------
A = [3 4;
4 2]
figure(1)
subplot(221), imagesc(A) % 2 row; 2 columns; Image 1
axis square, title('A')
%%
% Matrix 3x3 ---------------------
B = [ 1 3 5 ;
3 2 4 ;
5 4 3 ]
subplot(222), imagesc(B) % 2 row; 2 columns; Image 2
axis square,title('B')
%%
% Matrix 3x2 ---------------------
C = [ 1 3 ;
3 2 ;
5 4 ]
subplot(223), imagesc(C) % 2 row; 2 columns; Image 3
axis square,title('C')
%%
% Matrix 2x3 ---------------------
D = [ 1 3 3;
3 2 5]
subplot(224), imagesc(D) % 2 row; 2 columns; Image 4
axis square,title('D')
%%