필터 지우기
필터 지우기

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