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

4 views (last 30 days)
feuhwfy
feuhwfy on 22 May 2023
Answered: deprnus on 22 May 2023
matlab如何将数组中大于某个值的数设为该值

Accepted Answer

deprnus
deprnus on 22 May 2023
a 为数组,
a(a>2)=2;

More Answers (0)

Categories

Find more on MATLAB 快速入门 in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!