How can I compute the row differences of an m x n matrix to obtain an m-1 x n matrix; that is, given

how do I obtain

|
How can I compute the row differences of an m x n matrix to obtain an m-1 x n matrix; that is, given
how do I obtain
|
||||
|
|
|
Maybe this ?
|
|||||||
|