你遇到困难只能说明没用心,我不相信孤煞天星!


 报错信息如下

python编程之报错 ValueError: x and y must have same first dimension, but have shapes (102400,) and (1423

报错原因

time与wavedata的两个参数维度不同;

必须两个长度一致才可以;

可以,假设wavedata的长度是4500,time长度是9000,那么把time长度取一半,就可以了

len_time = len(time)/2  

time = time[0:len_time]  

python编程之报错 ValueError: x and y must have same first dimension, but have shapes (102400,) and (1423

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
  • 2021-10-27
猜你喜欢
  • 2022-12-23
  • 2021-12-28
  • 2021-04-03
  • 2021-06-01
  • 2021-12-29
  • 2021-10-26
  • 2022-12-23
相关资源
相似解决方案