matlab codes for a simple matrix
2 views (last 30 days)
Show older comments
A =
1 2 5 7
-1 2 1 -2
4 6 8 0
how can i get these
a)a13+a12.
(b) Three times the 3rdcolumn ofA.
(c) Twice the second row ofAminus the 3rdrow.
(d) The sum of all of the columns of ofA
4 Comments
Steven Lord
on 11 Nov 2021
This type of basic arithmetic and indexing is covered in the MATLAB Onramp tutorial. But if you don't have the time to go through the MATLAB Onramp I recommend reading the Getting Started section of the documentation.
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!