Azzera filtri
Azzera filtri

repeat elements ('a','b') where 'a' has to repeat 157 times and 'b' has to repeat 173 times, sequentially?

1 visualizzazione (ultimi 30 giorni)
157 values of 'a' then 173 values of 'b'

Risposta accettata

Raj
Raj il 3 Feb 2020
Modificato: Raj il 3 Feb 2020
What is the exact issue here? Your 'tags' themselves are answers to your question. Use repelem and repmat to get what you want depending on whether a and b are matrices or elements.

Più risposte (0)

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by