Question: Command Window >> x = [21:-3:6); >> y = [-3:3]; >> x*y Error using Incorrect dimensions for matrix multiplication. Check that the number of columns

 Command Window >> x = [21:-3:6); >> y = [-3:3]; >>

Command Window >> x = [21:-3:6); >> y = [-3:3]; >> x*y Error using Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the second matrix. To perform elementwise multiplication, use Matrix dimensions must agree. >> ans = -63 -36 -15 0 9 12

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!