Added code to cleanup the variables at the end of the script
This commit is contained in:
@@ -22,4 +22,9 @@ end
|
||||
%When done this way it removes the possibility of duplicate numbers
|
||||
|
||||
fullSum = sum(numbers);
|
||||
fullSum
|
||||
ans = fullSum
|
||||
|
||||
%Cleanup your variables
|
||||
clear fullSum;
|
||||
clear numbers;
|
||||
clear counter;
|
||||
|
||||
Reference in New Issue
Block a user