Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

3 次查看(过去 30 天)
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?

回答(0 个)

此问题已关闭。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by