Effacer les filtres
Effacer les filtres

Replicating one dimension of a 3d matrix

5 vues (au cours des 30 derniers jours)
user86753
user86753 le 21 Juil 2022
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.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Tags

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by