large special matrix

1 次查看(过去 30 天)
William
William 2011-6-28
Hello I need a way to create a 4,030,464 element matrix that is 4096 x 984 elements and numbered 1 to 4030464. I cannot think of an easy way to create this besides a brute force method. Any ideas?
Thank you

采纳的回答

Fangjun Jiang
Fangjun Jiang 2011-6-28
Use this example:
reshape(1:10,5,2)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by