Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How do you do matrix math?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hey all,
How can you develop a 3 x 3 matrix with elements ranging from 1 to 9. Then perform the calculation that Add 40 to it, divide element-wise by 7, subtract 2 from it, take the square root of the result then take the exponential of that. Do all thismath in one line of code.
댓글 수: 6
답변 (1개)
KSSV
2020년 9월 15일
Read about exp, sqrt. If A is my matrix, to get exp of sqrt, I will use.
iwant = exp(sqrt(A)) ;
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!