ValueError: operands could not be broadcast together with shapes (336000) (168000)

asked 2014-02-27 12:54:50 -0500

anonymous user

Anonymous

I every body! could anyone help me with this error? i´m subtracting 2 signal as shown bellow: def calculateber(sin, sout): totalbits = len(sin) aux = sout - sin bitserror = len(np.nonzero(aux)[0]) ber = 100. * bitserror / totalbits return bitserror, totalbits, ber

And i get this message: ValueError: operands could not be broadcast together with shapes (336000) (168000) I don´t know why!

edit retag flag offensive close merge delete