comparison scripts/general/diff.m @ 9041:853f96e8008f

Cleanup documentation file matrix.texi Spellcheck Stylecheck (Mostly double spaces after periods)
author Rik <rdrider0-list@yahoo.com>
date Wed, 25 Mar 2009 08:05:35 -0700
parents eb63fbe60fab
children 1bf0ce0930be
comparison
equal deleted inserted replaced
9040:dbd0c77e575e 9041:853f96e8008f
33 ## If @var{x} is a matrix, @code{diff (@var{x})} is the matrix of column 33 ## If @var{x} is a matrix, @code{diff (@var{x})} is the matrix of column
34 ## differences along the first non-singleton dimension. 34 ## differences along the first non-singleton dimension.
35 ## 35 ##
36 ## The second argument is optional. If supplied, @code{diff (@var{x}, 36 ## The second argument is optional. If supplied, @code{diff (@var{x},
37 ## @var{k})}, where @var{k} is a nonnegative integer, returns the 37 ## @var{k})}, where @var{k} is a nonnegative integer, returns the
38 ## @var{k}-th differences. It is possible that @var{k} is larger than 38 ## @var{k}-th differences. It is possible that @var{k} is larger than
39 ## then first non-singleton dimension of the matrix. In this case, 39 ## then first non-singleton dimension of the matrix. In this case,
40 ## @code{diff} continues to take the differences along the next 40 ## @code{diff} continues to take the differences along the next
41 ## non-singleton dimension. 41 ## non-singleton dimension.
42 ## 42 ##
43 ## The dimension along which to take the difference can be explicitly 43 ## The dimension along which to take the difference can be explicitly
44 ## stated with the optional variable @var{dim}. In this case the 44 ## stated with the optional variable @var{dim}. In this case the