Avatar ·

Matriz de inteiros: TypeError: Only Length-1 Arrays Can Be Converted to Python Scalars

📁 python, erro, numpy: Computação Científica, matplotlib: visualização de dados

   import  scipy  import  scipy.integrate  import  cmath  import  math  import  matplotlib.pyplot  as  plt  import  numpy  as  np  from  scipy  import  signal  from  scipy.signal  import  freqs, iirfilter xx = np.linspace ( 0 ,  1024 ,  1024 )  # range of x values  byts = ([ 0 ,  0 ,  0 ,  0