Applying function to all cells in a matrix using it as a reference
古いコメントを表示
Good day to everyone,
I've run into a problem which is best described using the following example. Given Matrix A which is defined as
% code
A=[.9 .8 .7
.6 .5 .4];
I need to transform all cells within the aforementioned Matrix A according to the following formula (Fisher's Z transformation)

where a is each cell in Matrix A. I want to create a matrix B where this is the result of this computation. The resulting matrix B would be
if true
% code
B=[1.47 1.09 0.86
0.69 0.54 0.42]
end
Here is the calculation which yielded the last data entry in matrix B

採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!