Code covered by the BSD License  

Highlights from
MATLAB 7 Fundamentos

image thumbnail

MATLAB 7 Fundamentos

by

 

09 Aug 2004 (Updated )

Companion Software for the book "MATLAB 7 Fundamentos"

cap2_exemplo_08.m
echo on
% Arquivo: cap2_exemplo_08.m
% Exemplos do item 2.4.1: Matriz tridimensional
m1=[1 2 3; 4 5 6; 7 8 9]
m2=eye(3)
A(:,:,1)=m1
A(:,:,2)=m2

Contact us