Answer the following questions based on given matrices A, B, and C.
A = [ 1 2 3 4 5; 2 3 4 5 6; 3 4 5 6 7]
B = [0 1 2; 1 2 3; 0 4 5]
C = [-1 0 0; 1 1 0; 0 0 2]
  • What is A(: , 1) ?
  • What is A(1 , :) ?
  • What is A(2:3 , 4:5) ?
  • What is A .* B ?
  • What is B . * C ?
  • What is A * 5 ?
  • What is B + C ?

2 commentaires

John D'Errico
John D'Errico le 19 Nov 2020
Stop posting homework and test questions. They were assigned to you, not to us.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Get Started with MATLAB dans Centre d'aide et File Exchange

Commenté :

le 19 Nov 2020

Community Treasure Hunt

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

Start Hunting!

Translated by