Mercurial > repos > public > sbplib
view +util/get_grid.m @ 1299:73e52c74baac feature/boundary_optimized_grids
Closed branch feature/boundary_optimized_grids
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Wed, 08 Jul 2020 18:20:57 +0200 |
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