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

 Respuesta aceptada

deprnus
deprnus el 22 de Mayo de 2023

0 votos

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

Más respuestas (0)

Categorías

Más información sobre MATLAB 快速入门 en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 22 de Mayo de 2023

Respondida:

el 22 de Mayo de 2023

Community Treasure Hunt

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

Start Hunting!