How to find correlation between two matrix?

8 ビュー (過去 30 日間)
Aarti Soni
Aarti Soni 2022 年 6 月 3 日
編集済み: Image Analyst 2022 年 6 月 3 日
Hello,
I have two matrices (A & B) and both are in same size (180x360). A & B matrix having some NaN values. I want to calculate correlation coefficient and its p-value between A & B. Final output should be in same size (180x360). Basically, I want to find the correlation coefficient and its significant for each values.
Please help me to solve this.

回答 (1 件)

Image Analyst
Image Analyst 2022 年 6 月 3 日
編集済み: Image Analyst 2022 年 6 月 3 日
Did you look at xcorr2 and corrcoef?
Or even normxcorr2 (demo attached) depending on what you want to learn/do.

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by