Cell Array, Debugging MATLAB programs, applications to simulations
COM 103 ICT Applications in Food Industry (1+2)
Lecture Schedule 5 – Part - V
Dr. S. Sridevy, Ph.D.
Assistant Professor (Computer Science)
Dept. of Physical Sciences & IT
AEC&RI, TNAU, Coimbatore – 3.
13 July 2020
Cell Array
S. Sridevy
13 July 2020
Creating Cell Arrays
S. Sridevy
13 July 2020
Creating Cell Arrays (Contd.)
S. Sridevy
13 July 2020
Creating Cell Arrays (Contd.)
A(1,1) = {‘Walden Pond’};
A(1,2) = {‘June 13, 1997’};
A(2,1) = {[60,72,65]};
A(2,2) = {[55,57,56;54,56,55;52,55,53]};
S. Sridevy
13 July 2020
Creating Cell Arrays (Contd.)
S. Sridevy
13 July 2020
Creating Cell Arrays (Contd.)
A{1,1} = ‘Walden Pond’;
A{1,2} = ‘June 13, 1997’;
A{2,1} = [60,72,65];
A{2,2} = [55,57,56;54,56,55;52,55,53];
Type A at the command line. You will see
A =
‘Walden Pond’ ‘June 13, 1997’
[1x3 double] [3x3 double]
S. Sridevy
13 July 2020
Creating Cell Arrays (Contd.)
A{1,1} =
Walden Pond
A{2,1} =
60 72 65
.
.
.
etc.
S. Sridevy
13 July 2020
Debugging MATLAB Programs
S. Sridevy
13 July 2020
Editor/Debugger Menu Bar
File, Edit, Text, Go, Cell, Tools, Debug, Desktop, Window, and Help.
S. Sridevy
13 July 2020
Editor/Debugger Menu Bar
S. Sridevy
13 July 2020
Cell
S. Sridevy
13 July 2020
Cell Mode (Contd.)
S. Sridevy
13 July 2020
Cell Mode (Contd.)
S. Sridevy
13 July 2020
Cell Mode (Contd.)
S. Sridevy
13 July 2020
Debug Menu
S. Sridevy
13 July 2020
Applications of Simulation
S. Sridevy
13 July 2020
Applications of Simulation (Contd.)
S. Sridevy
13 July 2020
Applications of Simulation (Contd.)
S. Sridevy
13 July 2020
Develop the simulation model
S. Sridevy
13 July 2020
Thank You!