필터 지우기
필터 지우기

How to convert a time series to a binary sequence?

조회 수: 6 (최근 30일)
Khandaker Noman
Khandaker Noman 2018년 10월 18일
답변: YT 2018년 10월 18일
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 ?

답변 (1개)

YT
YT 2018년 10월 18일
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.

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by