How to index random points from vector
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Don Singh
le 7 Oct 2015
Réponse apportée : Andrei Bobrov
le 7 Oct 2015
I have a vector "faa" of size 64 rows X 1 column and wish to extract the first point and a range of 22:42nd data points. How do I do this
0 commentaires
Réponse acceptée
Star Strider
le 7 Oct 2015
To combine them all in one ‘Result’ vector:
Result = [faa(1); faa(22:42)];
Otherwise:
faa_1 = faa(1);
faa_22_42 = faa(22:42);
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Special Characters 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!