%% Read dataset from file small2.csv to a variable tbl2
tbl2 = readtable('small2.csv');

%% Use head() function to view first few records
head(tbl2)

%% Caclulate minimum value of BMI
min(tbl2.BMI)

%% Calulcate MAP
MAP = tbl2.SYSBP/3 + tbl2.DIABP/3*2