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

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

 Akzeptierte Antwort

deprnus
deprnus am 22 Mai 2023

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB 快速入门 finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 22 Mai 2023

Beantwortet:

am 22 Mai 2023

Community Treasure Hunt

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

Start Hunting!