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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 19 Nov. 2020

Kommentiert:

am 19 Nov. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by