フィルターのクリア

how to append my data?

1 回表示 (過去 30 日間)
PARVATHY NAIR
PARVATHY NAIR 2022 年 12 月 21 日
移動済み: VBBV 2022 年 12 月 28 日
let my data be
1 1
2 1
2 2
2 3
3 4
4 5
5 6
6 6
and i want it as
1
2
2
2
3
4
5
6
1
1
2
3
4
5
6
6
  1 件のコメント
prasanth s
prasanth s 2022 年 12 月 21 日
編集済み: Jan 2022 年 12 月 21 日

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

回答 (1 件)

VBBV
VBBV 2022 年 12 月 21 日
D = [1 1
2 1
2 2
2 3
3 4
4 5
5 6
6 6]
D = 8×2
1 1 2 1 2 2 2 3 3 4 4 5 5 6 6 6
D = reshape(D,[],1)
D = 16×1
1 2 2 2 3 4 5 6 1 1
  1 件のコメント
Jan
Jan 2022 年 12 月 21 日
移動済み: VBBV 2022 年 12 月 28 日
Or: D = D(:)

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

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by