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

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

En savoir plus sur MATLAB 快速入门 dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!