Challenge: Matrix Multiplication
Solve this challenge on matrix multiplication in R.
We'll cover the following
Exercise
The following code will generate a randomly distributed grayscale matrix with values from to . Your challenge is to:
- Create two
x
andy
matrices. - Multiply them within the
matrix_mul()
function.
Use the code editor below to implement your solution.
Note: You can get help by clicking “Show Solution” under the code
Get hands-on with 1400+ tech skills courses.