フィルターのクリア

Converting discrete data to digital data

2 ビュー (過去 30 日間)
Sana Batool
Sana Batool 2018 年 3 月 28 日
コメント済み: Walter Roberson 2018 年 3 月 28 日
I am new to signal processing and need little help on discrete and digital data. I have converted analog data to discrete data through LPC vocoder. Now I want to convert discrete data to digital data (binary format 0s and 1s). The question is, how can discrete data (ranging from 0 to 1) be converted into digital data i-e binary format and vice versa. Thanks in advance
  1 件のコメント
Sergey Kasyanov
Sergey Kasyanov 2018 年 3 月 28 日
You may looking for answer there and there.

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 3 月 28 日
de2bi() and bi2de()
  2 件のコメント
Sana Batool
Sana Batool 2018 年 3 月 28 日
Thanks for answer but negative numbers like [-1.234] as de2bi(-1.234) can't be converted into binary. de2bi func only process finite real positive integers.
Walter Roberson
Walter Roberson 2018 年 3 月 28 日
There is no standard representation for negative binary numbers, other than as IEEE 754 "float" (32 bits) or IEEE 754 "double" (64 bits.)
For any given fixed number of bits, N, there is a minimum of 4*(N-1) different competing representations, one of two of which are very common, one less common but used in hardware implementations, and one very uncommon.
If the number of bits is variable, there is no standard representation, and at least 3 different representations used in practice just to indicate the number of bits, with the choice depending upon the purpose of representation.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by