matlab如何将数​组中大于某个值的数设​为该值.。

3 ビュー (過去 30 日間)
feuhwfy
feuhwfy 2023 年 5 月 22 日
回答済み: deprnus 2023 年 5 月 22 日
matlab如何将数组中大于某个值的数设为该值

採用された回答

deprnus
deprnus 2023 年 5 月 22 日
a 为数组,
a(a>2)=2;

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB 快速入门 についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!