Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Turning a row matrix of numbers into a row matrix of vectors.

3 views (last 30 days)
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?

Answers (0)

This question is closed.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!