comparison +time/Cdiff.m @ 142:484b48e95c83

Removed ylim from setup1dPlot added some comments and fixed timestepper paramters.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 29 Feb 2016 15:00:52 +0100
parents b18d3d201a71
children 151ab2b5a686 b5e5b195da1e
comparison
equal deleted inserted replaced
141:cb2b12246b7e 142:484b48e95c83
11 end 11 end
12 12
13 13
14 methods 14 methods
15 function obj = Cdiff(D, E, S, k, t0, n0, v, v_prev) 15 function obj = Cdiff(D, E, S, k, t0, n0, v, v_prev)
16 % Cdiff(D, E, S, k, t0, n0, v, v_prev)
16 m = size(D,1); 17 m = size(D,1);
17 default_arg('E',sparse(m,m)); 18 default_arg('E',sparse(m,m));
18 default_arg('S',sparse(m,1)); 19 default_arg('S',sparse(m,1));
19 20
20 if ~(issparse(D) && issparse(E) && issparse(S)) 21 if ~(issparse(D) && issparse(E) && issparse(S))