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 CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by