MATLAB Answers

How do I create a vector by repeating a vector

1 view (last 30 days)
Onovo on 28 Jul 2021
Commented: darova on 28 Jul 2021
Given a Vector A=[1; 2], I want to create a vector B, such that B=[1; 2; 1; 2] . Thanks


Community Treasure Hunt

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

Start Hunting!