Professional Documents
Culture Documents
1 of 3
11/7/15 3:39 PM
pie(blood_graph);
elseif pop_out == 3
% RH Factor --> Horizontal bar graph among participants
rhf = [rh_f{:,:}];
p = strfind(rhf,'postitive');
x = length(p);
n = strfind(rhf,'negative');
y = length(n);
bargraph = [x,y];
figure
barh(bargraph);
ylabel ('(+) and (-) RH Factors');
xlabel('How many (+) and (-) RH Factors');
x = 0:0.1:10;
legend('1 = Positive, 2 = Negative');
else pop_out == 4
% End program
disp('Have a Nice Day');
end
end
fclose('all');
Participants =
'Milton'
'Suzette'
'Ginny'
'Mervin'
'Maira'
'Denise'
'Steve'
'Cayla'
'Corie'
'Reda'
'Christy'
'Evita'
'Rolande'
'Tinisha'
'Colton'
'Contessa'
'Lynette'
'Adrianna'
'Toby'
'Launa'
weight_min =
108
'Anderson'
'Bartlet'
'Beam'
'Brown'
'Davis'
'Doe'
'Garcia'
'Hernandez'
'Jackson'
'Johnson'
'Jones'
'Martin'
'Martinez'
'Miller'
'Moore'
'Rodriguez'
'Taylor'
'Thomas'
'Williams'
'Wilson'
'141'
'152'
'108'
'145'
'158'
'159'
'223'
'174'
'142'
'253'
'165'
'131'
'191'
'134'
'257'
'187'
'114'
'127'
'178'
'156'
'a'
'a'
'ab'
'b'
'a'
'o'
'b'
'b'
'ab'
'o'
'ab'
'b'
'o'
'b'
'a'
'ab'
'b'
'ab'
'a'
'o'
'negative'
'postitive'
'postitive'
'postitive'
'negative'
'negative'
'postitive'
'negative'
'postitive'
'postitive'
'negative'
'negative'
'postitive'
'postitive'
'postitive'
'postitive'
'postitive'
'negative'
'negative'
'negative'
2 of 3
11/7/15 3:39 PM
weight_max =
257
weight_avg =
164.7500
ans =
1
Have a Nice Day
>>
3 of 3