Function File: dat = diff (dat)
Function File: dat = diff (dat, k)

Return k-th difference of outputs and inputs of dataset dat. If k is not specified, default value 1 is taken.

Package: control