MATLAB Answers

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

1 view (last 30 days)
CalebJones
CalebJones on 3 Feb 2020
Edited: Raj on 3 Feb 2020
157 values of 'a' then 173 values of 'b'

  0 Comments

Sign in to comment.

Accepted Answer

Raj
Raj on 3 Feb 2020
Edited: Raj on 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.

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.