imod

Remainder after division ("complexified" version of the mod function).

Syntax

```r = imod(a,n)
```

Description

r = imod(a,n) returns the remainder, , after division of by . Note that can be complex, but it is assumed that is real.

Input/Output Parameters

 Variable Symbol Description Format Units Input a $\inline&space;a$ dividend 1×1complex - n $\inline&space;n$ divisor 1×1double - Output r $\inline&space;r$ remainder of $\inline&space;a/n$ 1×1complex -