Azzera filtri
Azzera filtri

how to append my data?

1 visualizzazione (ultimi 30 giorni)
PARVATHY NAIR
PARVATHY NAIR il 21 Dic 2022
Spostato: VBBV il 28 Dic 2022
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

Risposte (1)

VBBV
VBBV il 21 Dic 2022
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 Commento
Jan
Jan il 21 Dic 2022
Spostato: VBBV il 28 Dic 2022
Or: D = D(:)

Accedi per commentare.

Categorie

Scopri di più su Interpolation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by