科尔科夫修正差异

发布于 2024-12-15 02:58:54 字数 902 浏览 2 评论 0原文

我有两个复杂的函数(大小 1x1x2501),我需要在它们之间进行关联(互相关)。

我尝试使用此命令:

r=corrcoef(Hmimo_tb(1,:)',Hmimo_tb1(1,:)','coeff');

其中 Hmimo_tbHmimo_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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清秋悲枫 2024-12-22 02:58:54

答案可以打印为比显示 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文