You are not logged in.
Pages: 1
Hello, I'm trying to figure out a step function on positive integers, in detail:
f : N -> {0,1}
f(x) = 1 if x>0
0 if x=0
I'm having difficulties in writing this function, can someone help me please?
Could you be more precise about what exactly you need to do?
Here lies the reader who will never open this book. He is forever dead.
Taking a new step, uttering a new word, is what people fear most. ― Fyodor Dostoyevsky, Crime and Punishment
The knowledge of some things as a function of age is a delta function.
Offline
Could you be more precise about what exactly you need to do?
Sorry I needed a formula for f(x), I figured out it is the sign function https://en.wikipedia.org/wiki/Sign_function
Last edited by dvd84 (2015-07-13 11:59:17)
Offline
Pages: 1