basic question about matrices

14 vues (au cours des 30 derniers jours)
Sanket Dahat
Sanket Dahat le 25 Nov 2019
Commenté : Sanket Dahat le 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

Réponse acceptée

Philippe Lebel
Philippe Lebel le 25 Nov 2019
Modifié(e) : Philippe Lebel le 25 Nov 2019
  2 commentaires
Guillaume
Guillaume le 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.
Sanket Dahat
Sanket Dahat le 25 Nov 2019
thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by