MATLAB Answers

how can i create a vector long n arrows and with same string text inside all the arrows

1 view (last 30 days)
Fadel Raad
Fadel Raad on 30 Oct 2020
Commented: Ameer Hamza on 30 Oct 2020
Hi, i need to create a vector long 23824 arrows, and type '31S' inside all arrows


Sign in to comment.

Accepted Answer

Ameer Hamza
Ameer Hamza on 30 Oct 2020
Edited: Ameer Hamza on 30 Oct 2020
I think you mean 'rows'. Try this
M = repmat('31S', 23824, 1)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by