Azzera filtri
Azzera filtri

How to set a threshold in data

19 visualizzazioni (ultimi 30 giorni)
Gina Carts
Gina Carts il 25 Mar 2019
Risposto: Alex Mcaulley il 25 Mar 2019
I have a 3D images stored in a matrix A. Some pixels are outliers and I want to put a threshold.
When the value at particular pixel is bigger than 300 then set it to 300.
Can anyone help with that?

Risposte (1)

Alex Mcaulley
Alex Mcaulley il 25 Mar 2019
A(A>300)=300

Community Treasure Hunt

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

Start Hunting!

Translated by