Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Could anyone help me how to subtract and divide each value of a matrix.

1 回表示 (過去 30 日間)
jaah navi
jaah navi 2021 年 7 月 15 日
閉鎖済み: jaah navi 2021 年 7 月 15 日
I am having three matrices A, B and C.
A =[0.1798 0.3884 0.0367 0.1155
0.2763 0.6323 0.0515 0.2470
0.0090 0.2628 0.7600 0.0421
0.2021 0.5339 0.8222 0.1729
0.1480 0.0761 0.8435 0.1162]
B =[0.1630 0.3787 0.5028 0.1388]
C =[0.0982 0.2199 0.4199 0.0763]
Now I want to subtract each and every value of A with B and divide it by C.
Could anyone please help me on this.
  2 件のコメント
jaah navi
jaah navi 2021 年 7 月 15 日
I have got the result using the command
D=(A - B)./C
Sorry for keeping it posted.
Mathieu NOE
Mathieu NOE 2021 年 7 月 15 日
Please close this post if you're done

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by