Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
jaah navi
jaah navi el 15 de Jul. de 2021
Cerrada: jaah navi el 15 de Jul. de 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 comentarios
jaah navi
jaah navi el 15 de Jul. de 2021
I have got the result using the command
D=(A - B)./C
Sorry for keeping it posted.
Mathieu NOE
Mathieu NOE el 15 de Jul. de 2021
Please close this post if you're done

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by