Add additional name into a matrix
5 views (last 30 days)
Show older comments
I have a matrix X1x5, this matrix X is like [abc01,bcd12,cde03,def41,efg25]. Now I want to add (aaa34) after (efg25), what I can do? I really tried x = [:,aaa34]; but it showing an error.
0 Comments
Answers (1)
Rajanya
on 20 Mar 2025
Hi,
X = ["abc01", "bcd12", "cde03", "def41", "efg25"];
X = [ X, "aaa34" ]
Thanks.
0 Comments
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!