Effacer les filtres
Effacer les filtres

How to convert a time series to a binary sequence?

5 vues (au cours des 30 derniers jours)
Khandaker Noman
Khandaker Noman le 18 Oct 2018
Réponse apportée : YT le 18 Oct 2018
Hello Everyone, I have a time series ( i.e. a vector like v=[2 3 8.1 1 3.4 9]}. I want to convert them to a binary sequence of 0 and 1. Does anybody know how to do that ?

Réponses (1)

YT
YT le 18 Oct 2018
I would have suggested to use `de2bi` but then noticed your array contains floats. Someone else already answered a similiar question (convert float to binary) here.

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by