FUNCTION REFERENCE
hardlim
Hard limit: one for nonnegative inputs and zero otherwise.
Hard limit: one for nonnegative inputs and zero otherwise.
Syntax
a = hardlim(n)Example
hardlim([-1 0 1])These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.