covariance of a matrix which is not a square matrix
4 ビュー (過去 30 日間)
古いコメントを表示
we have a matrix of dimension (65536X12) how can we find covariance of such a matrix which is not a square matrix
0 件のコメント
回答 (1 件)
Andrew Newell
2011 年 4 月 4 日
As was true of your previous post, your question is not clear. Do you have 65536 measurements each of 12 variables, or the reverse? If the former, then
cov(M)
(where M is your matrix) will give you a 12 x 12 covariance matrix for the variables. If the latter,
cov(M')
4 件のコメント
Andrew Newell
2011 年 4 月 5 日
I don't suppose it's a coincidence that 65536 = 256^2. Are you trying to correlate each pixel with each other pixel?
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!