This preview shows page 1. Sign up to view the full content.
Unformatted text preview: % creates a vector of grade points set to 0 GPs = zeros(1, length(apGrades)); % adjusting the grade points according to letter grades GPs(apGrades >= 90) = 4; GPs(apGrades >= 80 & apGrades < 90) = 3; GPs(apGrades >= 70 & apGrades < 80) = 2; GPs(apGrades >= 65 & apGrades < 70) = 1; % if an F, the grade point stays a zero % adjusting grade points according to credits GPs = GPs .* apHours; % finding gpa gpa3000 = sum(GPs) ./ sum(apHours);...
View Full Document
This note was uploaded on 10/22/2009 for the course CS 1371 taught by Professor Stallworth during the Fall '08 term at Georgia Tech.
- Fall '08