%Here are all the prelim 2 scores, TAM 203, spring 1997
%This email message is a legitimate matlam .m file.
prelim2_scores=[ ...
    69    68    50    57    57    73    49 ...
    64     0    55     0    69    63    72 ...
    77    64    89    64    26    97    71 ...
    86    68    84    72    70    56    63 ...
    56    64    72    60    59    38    54 ...
    67    82    73    57     0    82    81 ...
    52    94    88    40    55    61    75 ...
     0    57    51    65    67    43    82 ...
    72    59    93    48    64    70     0 ...
    93    62    43     0    83    53    51 ...
    71    47    71    55    58    75    53 ...
     0    51    57    65    58     0    74 ...
    67    78    67    34    74    45    93 ...
    52    90    92    55    70    63    36 ...
    35    83    54    49    69    74    29 ...
    40    43    89    60    82    65     0 ...
    73    76    34    47     0    71    81 ...
    44    87    61    54    94    75    88 ...
    76  ];


%Here are some MATLAB commands that will tell you the stats
p2=prelim2_scores;
length(p2)
mean(p2)
median(p2)
std(p2)
min(p2)
max(p2)
%hist(p2,30); xlabel('score on Prel 1'); ylabel('number of students')

p2sorted = sort(p2);
plot(  p2sorted , 1:length(p2))

% Note that you might want to eliminate the zero scores
% as those are most likely students who dropped the class