How to binarize a signal?
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad Mazhar Saeed Butt
am 6 Apr. 2018
Kommentiert: Muhammad Mazhar Saeed Butt
am 6 Apr. 2018
How a signal can be binarize?
0 Kommentare
Antworten (1)
Andrew Davies
am 6 Apr. 2018
Bearbeitet: Andrew Davies
am 6 Apr. 2018
Depends on the criteria you want to use to create your binary signal, but simply using a comparison operator on an array works. For example to use a threshold (0.5 here) and have 1 above and 0 otherwise:
s = rand(1,10)
b = s > 0.5
Siehe auch
Kategorien
Mehr zu Spectral Measurements 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!