X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=blobdiff_plain;f=advection_matrix_sparse.m;h=a89536cbd11859212464d840f6e369e418418d61;hp=ce45e159d84f0d28510240ee08c145833ca8ce78;hb=87d434fa93b3e52e8a5a0a9d99ae43492c35e1be;hpb=9b1a3c694305734969d771a6e67a67123006b5ca diff --git a/advection_matrix_sparse.m b/advection_matrix_sparse.m index ce45e15..a89536c 100644 --- a/advection_matrix_sparse.m +++ b/advection_matrix_sparse.m @@ -13,7 +13,7 @@ function S = advection_matrix_sparse(integerN) top = [ [zeros(integerN-1, 1), speye(integerN-1)]; ... zeros(1, integerN)]; - ## The ones directly below the diagonal. + ## The negative ones directly below the diagonal. bottom = [ [zeros(1, integerN-1); ... -speye(integerN-1) ], zeros(integerN, 1)];