Problem with matrix manipulation
1 次查看(过去 30 天)
显示 更早的评论
i have matriks
A1 = [1 2 3 4 5 6 7 8] A2 = [9 10 11 12 13 14 15 16] . . . . An = [.........]
i want to display them
F = [A1,A2,..., An]
so the results obtained
F = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... An]
1 个评论
采纳的回答
Roger
2015-10-28
A = [A1 A2 ... An];% do not use ","
2 个评论
Image Analyst
2015-10-28
That's nonsense. You certainly can use a comma to horizontally append row vectors, in fact the lint in the code editor will recommend that you use commas rather than spaces. The code Diaz gave for F will work, given that n is known so that you know the names of all the arrays.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!