basic question about matrices

8 views (last 30 days)
Sanket Dahat
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

Accepted Answer

Philippe Lebel
Philippe Lebel on 25 Nov 2019
Edited: Philippe Lebel on 25 Nov 2019
  2 Comments
Guillaume
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!