view +util/get_grid.m @ 916:d1c1615bd1a5 feature/timesteppers

Add comment in butcherTableau about rk4-3/8 being irreducible.
author Martin Almquist <malmquist@stanford.edu>
date Mon, 26 Nov 2018 16:08:54 -0800
parents 7067bf8adbfa
children
line wrap: on
line source

% [x,h] = get_grid(a,b,m)
function [x,h] = get_grid(a,b,m)
    % TODO: allow the interval to be a vector
    x = linspace(a,b,m)';
    h = (b-a)/(m-1);
end