image thumbnail

Symbolic Discrete Delta Function

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


Updated 10 Feb 2012

View License

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 (, MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!