comparison +parametrization/equal_step_size.m @ 820:501750fbbfdb

Merge with feature/grids
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 07 Sep 2018 14:40:58 +0200
parents 3a3cf386bb7e
children
comparison
equal deleted inserted replaced
819:fdf0ef9150f4 820:501750fbbfdb
1 % Calculates M so that the stepsize m/M is as close to n/M as possible
2 function M = equal_step_size(n,N,m)
3 M = round((m*(N-1)+n)/n);
4 end