Clear Filters
Clear Filters

how to write the code to find these question?

1 view (last 30 days)
x= [3 5 9 12 -1 0 -12 9 6 1] Set the value in x that are less than the mean to zero

Answers (1)

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

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!