how to remove values below 0.1?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ELISABETTA BILLOTTA
am 23 Jun. 2022
Kommentiert: Chunru
am 24 Jun. 2022
after doing a series of calculations I obtained a prob(i)=1x27331 double matrix characterized by values ranging from 0 to about 0.4.
How can I remove all points with values less than 0.1 and change them to NaN?
I need these values below 0.1 to become worthless so that when plotting them they are not marked.
i tried with :
old = lt(prob(i),0.1);
new = NaN;
prob(i) = changem(prob(i),new,old);
...but it doesn't work.
Can anyone help me?
thanksss
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Data Preprocessing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!