3 dimentions matrix Creation

1 Ansicht (letzte 30 Tage)
F.O
F.O am 8 Mär. 2018
Beantwortet: Roger Stafford am 8 Mär. 2018
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

Akzeptierte Antwort

Roger Stafford
Roger Stafford am 8 Mär. 2018
I think you asking how to do this:
A = repmat(A,1,1,100);

Weitere Antworten (0)

Kategorien

Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by