Skip to content
Prev 349750 / 398513 Next

Verify that a grid is uniform

... correction: you need to use absolute value for the comparison, of course.

all(abs(diff(z) - z[2] + z[1]) < tol)

-- Bert

Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Mon, Apr 6, 2015 at 10:47 AM, Bert Gunter <bgunter at gene.com> wrote: