File Exchange

image thumbnail

Transfer Student Capable GPA Calculator

version (2.27 KB) by David Cazenave
gpafilxchng1.m is a user friendly script that calculates a students gpa's.


Updated 20 Jul 2019

View License

This script predicts the gpa's of up to 3 schools (and cumulative) from classes completed and graded, and from classes yet to be finished or taken (via the user estimating his grades). After the first input the script uses a for loop to have the user input the information for each class included in the first input. Enter the points and units of classes already officially graded, for each school, in the first 6 lines (SCHLx_p and SCHLx_u), before running the script. If the user wants the gpa of a single school or 2 schools, enter 0 for SCHLx_p and SCHLx_u for those schools not used, and the results for those schools will be NaN because of the division of zero by zero (0/0). NaN stands for "Not a Number". Up to 12 classes can be calculated into all the school gpa's for each script run.

Cite As

David Cazenave (2020). Transfer Student Capable GPA Calculator (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)



Added clear all.

Added clear variables.

Deleted obsolete break statement.

Corrected description.

Changed screenshot.

Modified comments and description.

Added a screenshot.

MATLAB Release Compatibility
Created with R2018a
Compatible with any release
Platform Compatibility
Windows macOS Linux