diff --git a/operations/powerFast.m b/operations/powerFast.m new file mode 100644 index 0000000..26388b8 --- /dev/null +++ b/operations/powerFast.m @@ -0,0 +1,8 @@ +function c = powerFast(a,b) + +c = a; +for i = 2:b + c = c .* a; +end + +end \ No newline at end of file