General Functions

if-loop: Checks if a certain condition exists, if so, code routes to a different output than what it might output if the condition were false.

while-loop: Runs code in a loop while a certain index variable meets the conditions set in the first line of the loop, index variable must change in each round of running the loop.

for-loop: Runs the loop a certain amount of times until the index variable exceeds the condition set out in the first line of the loop, index automatically increases by one for each loop.

pause: Pauses that line of code for a set amount of seconds.

sum: Adds up all of the values in a specified vector.

randi: Creates a vector of a specified length of a certain amount of random numbers.

input: Requests the users input to determine how next to run the code.

fprintf: Prints whatever is typed as just text, not code.

max: Calculates the maximum value for a certain vector/matrix.

clc: Clears the command window where code is displayed.

clear: Clears the variable storage.

closeall: Closes all of the open popups from previous code.