Added code to cleanup the variables at the end of the script

This commit is contained in:
2018-09-26 11:17:37 -04:00
parent b63ca10669
commit 2468bd4f80
5 changed files with 24 additions and 15 deletions

View File

@@ -28,12 +28,14 @@ while(outerCounter < size(numbers)(2))
++outerCounter; %Increment
end
max(palindromes)
%Cleanup your variables
clear outerCounter;
clear innerCounter;
clear answer;
clear numbers;
max(palindromes)
clear palindromes;
%This way is slow. I would like to find a faster way
%{