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

1 回表示 (過去 30 日間)
157 values of 'a' then 173 values of 'b'

採用された回答

Raj
Raj 2020 年 2 月 3 日
編集済み: Raj 2020 年 2 月 3 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by