aboutsummaryrefslogtreecommitdiffstats
path: root/math2373/lab5/sum_of_fourths.m
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2022-05-24 11:18:46 -0500
committerMatt Strapp <matt@mattstrapp.net>2022-05-24 11:19:55 -0500
commit7a73162607544204032aa66cce755daf21edebda (patch)
tree58578e01f15f34a855d99c32898db9d7a1603e67 /math2373/lab5/sum_of_fourths.m
parentdo some stuff (diff)
downloadhomework-7a73162607544204032aa66cce755daf21edebda.tar
homework-7a73162607544204032aa66cce755daf21edebda.tar.gz
homework-7a73162607544204032aa66cce755daf21edebda.tar.bz2
homework-7a73162607544204032aa66cce755daf21edebda.tar.lz
homework-7a73162607544204032aa66cce755daf21edebda.tar.xz
homework-7a73162607544204032aa66cce755daf21edebda.tar.zst
homework-7a73162607544204032aa66cce755daf21edebda.zip
Graduate
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'math2373/lab5/sum_of_fourths.m')
-rw-r--r--math2373/lab5/sum_of_fourths.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/math2373/lab5/sum_of_fourths.m b/math2373/lab5/sum_of_fourths.m
new file mode 100644
index 0000000..80c535f
--- /dev/null
+++ b/math2373/lab5/sum_of_fourths.m
@@ -0,0 +1,4 @@
+y(1)=0;
+for n=1:N
+ y(n+1)=y(n)+n^4;
+end \ No newline at end of file