3 dimentions matrix Creation

1 次查看(过去 30 天)
Hei, I have this matrix
A=[4 -1 1;4 -8 1;-2 1 5]
And I want to add a third dinention (page) to it with only one element from 1 to 100 ie every page have my same matrix but the page numbers change from 1 to 100. Any help is appretiated

采纳的回答

Roger Stafford
Roger Stafford 2018-3-8
I think you asking how to do this:
A = repmat(A,1,1,100);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by