How do I concatenate the same table n-times vertically?

1 visualización (últimos 30 días)
I want to make a bigger table by adding my table (T) n-times vertically. If n is a small number, let's say n=5, I can basically write it like so:
biggertable = [T;T;T;T;T]
But what if n=1000 or even more? Is there a matlab command that does this? Thanks a lot for your help!

Respuesta aceptada

Simon Chan
Simon Chan el 22 de Ag. de 2021
Try this:
biggertable=repmat(T,1000,1);

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by