In the Matlab command input the following matrices.

1 次查看(过去 30 天)
In the Matlab command input the following matrices.
1. A matrix with 2x2 order
2. B matrix with 2x2 order
3. C matrix with 2x2 order
Then do the following operations:
  1. diagonal of (A+B+C)
  2. |ABC|
  3. (A+B)C=AC+BC
  4. det(A)=det(A')
  1 个评论
Jon
Jon 2020-11-18
What is your question? I suggest that you first attempt to write some code and then post your code and then ask specific questions regarding problems you may be having with your program. If you need to learn the basics of MATLAB in order to get started I would suggest first completing the MATLAB On Ramp https://www.mathworks.com/learn/tutorials/matlab-onramp.html

请先登录,再进行评论。

回答(1 个)

Srivardhan Gadila
Srivardhan Gadila 2020-11-23
As Jon said, completing the MATLAB Onramp course is recommended to learn the essentials of MATLAB.
Then you can refer to the documentation of the following: trace, mtimes, *, plus, +, transpose, .' and det.

类别

Help CenterFile Exchange 中查找有关 Operating on Diagonal Matrices 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by