How to extend array?

2 vues (au cours des 30 derniers jours)
Rikke
Rikke le 30 Avr 2019
Commenté : Rikke le 30 Avr 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?

Réponse acceptée

madhan ravi
madhan ravi le 30 Avr 2019
  1 commentaire
Rikke
Rikke le 30 Avr 2019
Perfect, thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by