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

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

 采纳的回答

deprnus
deprnus 2023-5-22

0 个投票

a 为数组,
a(a>2)=2;

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 快速入门 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!