Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
jaah navi
jaah navi am 15 Jul. 2021
Geschlossen: jaah navi am 15 Jul. 2021
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 Kommentare
jaah navi
jaah navi am 15 Jul. 2021
I have got the result using the command
D=(A - B)./C
Sorry for keeping it posted.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by