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

3 visualizzazioni (ultimi 30 giorni)
feuhwfy
feuhwfy il 22 Mag 2023
Risposto: deprnus il 22 Mag 2023
matlab如何将数组中大于某个值的数设为该值

Risposta accettata

deprnus
deprnus il 22 Mag 2023
a 为数组,
a(a>2)=2;

Più risposte (0)

Categorie

Scopri di più su MATLAB 快速入门 in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!