科尔科夫修正差异
我有两个复杂的函数(大小 1x1x2501),我需要在它们之间进行关联(互相关)。
我尝试使用此命令:
r=corrcoef(Hmimo_tb(1,:)',Hmimo_tb1(1,:)','coeff');
其中 Hmimo_tb
和 Hmimo_tb1
是我的两个信号,其中唯一的区别是它们是在不同位置测量的。这两个信号之间的差异最大等于1.5e-13,因此它们仅受噪声影响。
我得到的结果是:
ans =
1.0000 1.0000 + 0.0000i
1.0000 - 0.0000i 1.0000
我要关联的函数很复杂,但 0.0000i 给我留下了一些疑问...... 另一个疑问是,信号实际上并不相等,正如我之前所说,有 1.5e-13 的差异,但在次对角线上没有报告,为什么?
corrcoef 和 xcorr 有什么区别?
是的,这是真的,我尝试过:
格式化长g
,我得到的结果是这样的:
第 1 列
1
1 + 3.73593550274545e-11i
第 2 列
1 - 3.73593550274545e-11i
1
现在我如何解释这个小的复数值?它代表什么?谢谢
I've two complex functions (size 1x1x2501) and i need to do a correlation between these (cross-correlation).
I've tried to use this command:
r=corrcoef(Hmimo_tb(1,:)',Hmimo_tb1(1,:)','coeff');
Where Hmimo_tb
and Hmimo_tb1
are my two signals in which the only difference is the fact that they have been measured in different positions. The difference betweeen these two signals is max equal to 1.5e-13, so they are only affected by noise.
I obtain as result:
ans =
1.0000 1.0000 + 0.0000i
1.0000 - 0.0000i 1.0000
The function that I'm going to correlate are complex but the 0.0000i leave me some doubts....
Another doubt is the fact that the the signals are not equal in fact as i've told before there is a difference of 1.5e-13 that is not reported on the secondary diagonal why?
What are the difference between corrcoef and xcorr?
yes this is true i've tried with:
format long g
and i've obtained as result this:
Column 1
1
1 + 3.73593550274545e-11i
Column 2
1 - 3.73593550274545e-11i
1
now how can i interpretate the small complex value?what does it represent? Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
答案可以打印为比显示 1e-13 数量级差异所需的更少的数字。它可能已四舍五入为零,可能是在打印格式化期间,或者可能是在计算的其他地方。
The answer could be printed to less digits than required to show a difference on the order of 1e-13. It may have been rounded to zero, possibly during print formatting, or maybe somewhere else in the calculation.