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

 Réponse acceptée

deprnus
deprnus le 22 Mai 2023

0 votes

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

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!