Computing the rows of the matrix
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have a 3x100 matrix. And i have values in the first two rows of matrix and i need to compute the ratio of the first two rows and store it it the third row of matrix.
for example,
171.70 160.05 174.08 163.12
132.95 142.27 126.93 147.89
0 0 0 0
how do i do that?
Thanks in advance
0 件のコメント
採用された回答
madhan ravi
2019 年 2 月 13 日
Interpreting ratio as division:
a(3,:)=a(1,:)./a(2,:) % where a is your matrix
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!