希尔伯特中的hhspectrum问题

2019-07-17 14:10发布

用到希尔伯特转换中的hhspectrum.m程序,是直接从网上下的程序,运行的时候出现了错误,是在hhspectrum.m调用 hilbert.m文件时出现的错误,??? Undefined function or method 'real' for input arguments of type 'cell'.
Error in ==> hilbert at 40
  xr = real(xr);然后在command window 中用real时没有问题,在下实在不明白这是什么原因,求各位大神指点呀,感激不尽呀

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。