Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function a = hardLimitTransfer (n)
- % hardLimitTransfer
- %
- % Implementation of a hard limit transfer.
- % Output, a, will be either 0 or 1, based on
- % whether the input, n, is >= to 0 or not.
- %==================================================================
- a = n >= 0;
- a = double(a);
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement