Stuart’s MATLAB Videos

Watch and Learn

How to do a matrix reshape by ‘blocks’

This week’s video covers a non-standard way of reshaping a matrix. Instead of using the reshape function, this kind of matrix manipulation must be done with for loops. This matrix reshape operation treats submatrices within the original matrix as a unit. I suspect there are many other ways of doing this, and would love to hear about them in the comments.

  • print
  • send email


댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.