Effacer les filtres
Effacer les filtres

how to write the code to find these question?

1 vue (au cours des 30 derniers jours)
AnhThu Le
AnhThu Le le 20 Sep 2017
x= [3 5 9 12 -1 0 -12 9 6 1] Set the value in x that are less than the mean to zero

Réponses (1)

Walter Roberson
Walter Roberson le 20 Sep 2017
mean() and logical indexing

Catégories

En savoir plus sur Get Started with MATLAB 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