# Calculates the first derivative of signal data

### Description

Calculates the first derivative of signal data

### Usage

1 | ```
sfaTimediff(DATA, axType = "ORD1")
``` |

### Arguments

`DATA` |
The matrix of signals for which the derivative is calculated (one column per signal) |

`axType` |
Type of interpolation: "ORD1" (default) first order, "SCD" second ,"TRD" third, "ORD3a" cubic polynom |

### Value

matrix `DATA`

- `DATA`

contains the derivative signals, with the same structure as the input data.

### Note

setting axType to invalid values will lead to first order interpolation.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.