Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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!