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!