basic question about matrices

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

 Risposta accettata

Philippe Lebel
Philippe Lebel il 25 Nov 2019
Modificato: Philippe Lebel il 25 Nov 2019

0 voti

2 Commenti

Guillaume
Guillaume il 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.
thanks

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by