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 件のコメント

Image Analyst
Image Analyst 2015 年 10 月 28 日
You know n, right? You must. If not, explain why n might vary.

サインインしてコメントする。

 採用された回答

Roger
Roger 2015 年 10 月 28 日

0 投票

A = [A1 A2 ... An];% do not use ","

2 件のコメント

Diaz Diesel
Diaz Diesel 2015 年 10 月 28 日
how can i load its into A = [A1 A2 ...An]?
Image Analyst
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 件)

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

質問済み:

2015 年 10 月 28 日

コメント済み:

2015 年 10 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by