How can i rearrange a vector ?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Abdelwahab Fawzy
le 1 Sep 2015
Commenté : the cyclist
le 2 Sep 2015
I need you help in matlab
if A=[8 1 12 3 6 10 13 3];
AVG=sum(A)/length(A);
i need to neglect all values that below the AVG
so i get B=[8 12 10 13]
can you help me to perform this task in general
0 commentaires
Réponse acceptée
the cyclist
le 1 Sep 2015
B = A(A>=mean(A))
2 commentaires
the cyclist
le 2 Sep 2015
I don't really understand the new question.
(Also, you might consider posting a new question. More people will see it.)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Matrices and Arrays 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!