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]; >>](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f329f81ce13_02366f329f7b4e78.jpg)
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
Get step-by-step solutions from verified subject matter experts
