Replicating one dimension of a 3d matrix

 Accepted Answer

If M is your array, then
output = repmat(M,[10,1,1]);

More Answers (0)

Products

Release

R2020b

Tags

Asked:

on 21 Jul 2022

Answered:

on 21 Jul 2022

Community Treasure Hunt

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

Start Hunting!