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

3 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

Simon Chan
Simon Chan il 22 Ago 2021
Try this:
biggertable=repmat(T,1000,1);

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by