How to divide matrix into sub matrix
Show older comments
I have the matrix: time=0:0.05:8; and I'm trying to divide it into multiple matrices of 4. I tried using:
TIME=mat2cell(time,1,4) but i don't know what I'm doing wrong.
1 Comment
Greg
on 4 Feb 2018
Can you elaborate? I'm not following "multiple matrices of 4." What are you wanting to do with the sub-matrices?
Accepted Answer
More Answers (0)
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!