From 0c1b4c057fc4ae9f1c8ad28d7fb6f14723765474 Mon Sep 17 00:00:00 2001 From: Matthew Ellison Date: Thu, 27 Sep 2018 04:47:32 -0400 Subject: [PATCH] Added some comments --- ProjectEuler/Problem13.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ProjectEuler/Problem13.m b/ProjectEuler/Problem13.m index 4c7cf23..116ab24 100644 --- a/ProjectEuler/Problem13.m +++ b/ProjectEuler/Problem13.m @@ -104,6 +104,7 @@ 53503534226472524250874054075591789781264330331690 %} +%Variables nums = [37107287533902102798797998220837590246510135740250, 46376937677490009712648124896970078050417018260538, 74324986199524741059474233309513058123726617309629, @@ -205,8 +206,9 @@ nums = [37107287533902102798797998220837590246510135740250, 20849603980134001723930671666823555245252804609722, 53503534226472524250874054075591789781264330331690]; -format long; +format long; %You need to be able to see 10 digits sum(nums) -format short; +format short; %Set it back to normal +%Cleanup the variables clear nums;