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 CenterFile Exchange 中查找有关 MATLAB 快速入门 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!