Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

line 15 C = A * B #2

Open
ghost opened this issue Apr 19, 2023 · 1 comment
Open

line 15 C = A * B #2

ghost opened this issue Apr 19, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 19, 2023

This returns an error. Is the line meant to be C = A .* B?

@abavoil
Copy link

abavoil commented Jul 24, 2023

B = [7 8; 9 10; 11 12]

is meant to be B = [7 8 9; 10 11 12] since A is explicitly a 3 by 2 matrix and the matrix multiplication $AB$ is defined if and only if the number of columns of $A$ (2) is equal to the number of rows of $B$ (should be 2 instead of 3).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant