how to write the code to find these question?

1 次查看(过去 30 天)
x= [3 5 9 12 -1 0 -12 9 6 1] Set the value in x that are less than the mean to zero

回答(1 个)

Walter Roberson
Walter Roberson 2017-9-20
mean() and logical indexing

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by