Reshape the Matrix at MathWorks

Easy64.7% acceptance

This problem has 100.0% frequency at MathWorks.

Problem Description

In MATLAB, there is a handy function called `reshape` which can reshape an `m x n` matrix into a new one with a different size `r x c` keeping its original data. You are given an `m x n` matrix `mat` and two integers `r` and `c` representing the number of rows and the number of columns of the wante...

Read full problem and hints

Topics

Also asked at 3 companies


More MathWorks Questions

View all MathWorks questions