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

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

 채택된 답변

deprnus
deprnus 2023년 5월 22일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB 快速入门에 대해 자세히 알아보기

태그

질문:

2023년 5월 22일

답변:

2023년 5월 22일

Community Treasure Hunt

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

Start Hunting!