Answers for "rectangle function numpy"

0

rectangle function numpy

def rect(x):
    return where(abs(x)<=0.5, 1, 0)
Posted by: Guest on January-17-2022

Python Answers by Framework

Browse Popular Code Answers by Language