## Symbolic Discrete Delta Function

version 1.0.0.0 (1.22 KB) by
Discrete delta function for symbolic operations

Updated 10 Feb 2012

This function takes two integer valued arguments and returns 1 if they are equal and 0 otherwise. The computation is done symbolically so the result is not actually returned as a number but as a symbolic expression for substituting symbolic values if required.

$$f(a,b) := 1_{a = b}, \mbox{ for } a,b \in Z.$$

Optional invert-input argument is also provided.

### Cite As

Atul Ingle (2021). Symbolic Discrete Delta Function (https://www.mathworks.com/matlabcentral/fileexchange/35030-symbolic-discrete-delta-function), MATLAB Central File Exchange. Retrieved .

##### MATLAB Release Compatibility
Created with R2011a
Compatible with any release
##### Platform Compatibility
Windows macOS Linux