check the condition and assign discrete values
Ältere Kommentare anzeigen
i have converted one dataset into four groups.say my datavalues are in between 0 to 1.
Then i seperated those values as <0.25 ,<0.5 ,<0.75,<1
now i want to assign 0.25 group as value 0, 0.5 group as 1 0.75 group as 2 1 group as 3
can anybody help in this?
Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 4 Nov. 2013
1 Stimme
If you have the Image Processing Toolbox, you could use imquantize().
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!