Mathc matrices/02g
Apparence
Tableaux de quatres matrices sur trois lignes et trois colonnes 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(332), imagesc(A) % 3 row; 3 columns; Image 2
axis square, title('A')
%%
% Matrix 3x3 ---------------------
B = [ 1 3 5 ;
3 2 4 ;
5 4 3 ]
subplot(334), imagesc(B) % 3 row; 3 columns; Image 4
axis square,title('B')
%%
% Matrix 3x2 ---------------------
C = [ 1 3 ;
3 2 ;
5 4 ]
subplot(336), imagesc(C) % 3 row; 3 columns; Image 6
axis square,title('C')
%%
% Matrix 2x3 ---------------------
D = [ 1 3 3;
3 2 5]
subplot(338), imagesc(D) % 3 row; 3 columns; Image 8
axis square,title('D')
%%