how to write the code to find these question?

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 日

0 投票

mean() and logical indexing

カテゴリ

ヘルプ センター および File ExchangeAudio Processing Algorithm Design についてさらに検索

質問済み:

2017 年 9 月 20 日

回答済み:

2017 年 9 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by