Main Content

diff

Difference signals in iddata objects

Syntax

zdi = diff(z)
zdi = diff(z,n)

Description

zdi = diff(z) and zdi = diff(z,n) return the difference signals in iddata objects. z is a time-domain iddata object. diff(z) and diff(z,n) apply this command to each of the input/output signals in z.

Version History

Introduced before R2006a