How to extend array?

3 Ansichten (letzte 30 Tage)
Rikke
Rikke am 30 Apr. 2019
Kommentiert: Rikke am 30 Apr. 2019
I want to extend an array like this:
A = [1 2 3 4];
B = [2 3 5 7];
C =[1 1 2 2 2 3 3 3 3 3 4 4 4 4 4 4 4];
How could I do that?

Akzeptierte Antwort

madhan ravi
madhan ravi am 30 Apr. 2019
  1 Kommentar
Rikke
Rikke am 30 Apr. 2019
Perfect, thanks!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Types finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by