diff stripeMatrixPeriodic.m @ 943:21394c78c72e feature/utux2D

Merge with default
author Martin Almquist <malmquist@stanford.edu>
date Tue, 04 Dec 2018 15:24:36 -0800
parents bbf303c1f0cf
children
line wrap: on
line diff
--- a/stripeMatrixPeriodic.m	Tue Dec 04 14:54:28 2018 -0800
+++ b/stripeMatrixPeriodic.m	Tue Dec 04 15:24:36 2018 -0800
@@ -1,8 +1,8 @@
-% Creates a periodic discretization matrix of size n x n 
+% Creates a periodic discretization matrix of size n x n
 %  with the values of val on the diagonals diag.
 %   A = stripeMatrix(val,diags,n)
 function A = stripeMatrixPeriodic(val,diags,n)
 
     D = ones(n,1)*val;
-    A = spdiagsVariablePeriodic(D,diags);
+    A = spdiagsPeriodic(D,diags);
 end
\ No newline at end of file