Azzera filtri
Azzera filtri

Replicating one dimension of a 3d matrix

5 visualizzazioni (ultimi 30 giorni)
I have a matrix of size 100x4x2, I'd like to replicate the data 10 times so that I have a matrix of size 1000,4,2.

Risposta accettata

the cyclist
the cyclist il 21 Lug 2022
If M is your array, then
output = repmat(M,[10,1,1]);

Più risposte (0)

Categorie

Scopri di più su Matrices and Arrays in Help Center e File Exchange

Tag

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by