This question is closed. Reopen it to edit or answer.
Turning a row matrix of numbers into a row matrix of vectors.
1 view (last 30 days)
Show older comments
GEORGIOS BEKAS on 30 Oct 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
I want to do something like this: I have the following matrix:
A = [1 5 7]
I want to turn it into:
Anew = [1:6 (5*6+1):(5*6+6) (7*6+1):(7*6+6)]
What is a quick way to do it?
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!