Classify x data as
if x>=0 then y=1 if x<0 then y=0
Example
x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]
Additional test cases have been added.
10765 Solvers
850 Solvers
Program an exclusive OR operation with logical operators
597 Solvers
Project Euler: Problem 7, Nth prime
341 Solvers
302 Solvers