How do I easily make a matrix variable of 5 rows, each with the same string?
1 view (last 30 days)
Show older comments
So I know I can type x=char('Dandy','Dandy','Dandy','Dandy','Dandy'), but how do i do it without manually retyping the word?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!