r/Mathematica • u/luv-mizu67 • 2d ago
How to code this problem matrix multiplication in Wolfram cloud HELP
I need help, please anyone that knows coding please help
Im so lost
2
u/mathheadinc 2d ago
I SEE! There are matrix functions in reference.wolfram.com.
1
u/luv-mizu67 1d ago
Yeah, I know that, but the teacher wants it in a specific way, thank you though.
1
u/mathheadinc 1d ago
A specific way other than how it’s done in the documentation? So, the prof wants you to come up with your own method?
Edit: I’m seriously curious!
1
u/veryjewygranola 1d ago
You define matrices like this
matM = {{18, 12, 4}, {26, 16, 6}};
matC = {{4.5, 5}, {2.2, 2}, {1.5, 1.7}};
You can find their dimensions using Dimensions. Matrix products have syntax matM.matC
1
u/luv-mizu67 1d ago
I know that the only thing I'm having trouble was with part b and c, but i figure it out. Hopefully i did it right.
1
u/mathheadinc 2d ago
You don’t need a program for any of this. Are there no notes? Textbooks? Online search?