basic question about matrices
5 views (last 30 days)
Show older comments
Sanket Dahat
on 25 Nov 2019
Commented: Sanket Dahat
on 25 Nov 2019
Given a Matrix A,
- Create a row vector of 1's that has same number of elements as A has rows.
- Create a column vector of 1's that has the same number of elements as A has columns.
- Using matrix multiplication, assign the product of the row vector, the matrix A, and the column vector (in this order) to the variable result.
Think about what the result represents...
explain the step of solving
0 Comments
Accepted Answer
Philippe Lebel
on 25 Nov 2019
Edited: Philippe Lebel
on 25 Nov 2019
As i think this is an homework i'd suggest reading:
and
2 Comments
Guillaume
on 25 Nov 2019
And I'd recommend going through the free matlab onramp course, and reading the getting started tutorial in the doc because, frankly, this is extremely basic homework that anybody who's doing a matlab course should be able to do on their own if they put a modicum of effort.
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!