Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
jaah navi
jaah navi le 15 Juil 2021
Clôturé : jaah navi le 15 Juil 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 commentaires
jaah navi
jaah navi le 15 Juil 2021
I have got the result using the command
D=(A - B)./C
Sorry for keeping it posted.
Mathieu NOE
Mathieu NOE le 15 Juil 2021
Please close this post if you're done

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by