Working With Variables


Arrays


Figure 1

Accessing a single value

Figure 2

Accessing a submatrix

Figure 3

Accessing strided rows and columns

Figure 4

Accessing a row

Figure 5

Accessing multiple rows

Figure 6

Accessing multiple columns

Figure 7

Accessing strided columns

Loading data


Figure 1

Information saved in each data file.

Plotting data


Figure 1

Average inflammation

Figure 2

Maximum inflammation

Figure 3

Minumum inflammation

Figure 4

Average inflamation with legend

Figure 5

Average inflamation and Patient 5

Figure 6

Average inflammation and Patients 3 & 4

Figure 7

Max Min tiledplot

Figure 8

Max Min tiledplot with shared labels

Figure 9

Heat map

Figure 10

imagesc Heat map

Writing MATLAB Scripts


Making Choices


Creating Functions


Figure 1

Plotting patient vs mean

Repeating With Loops


Figure 1

This process is illustrated below: debugger-demo


Figure 2

inflammation-01.png

Figure 3

inflammation-02.png

Figure 4

inflammation-03.png