changing from binary to polar form

is there a matlab function that directly maps 0 to -1 and 1 to +1??

 採用された回答

Walter Roberson
Walter Roberson 2013 年 12 月 2 日

0 投票

No. However the expression is quite simple:
B * 2 - 1

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

質問済み:

2013 年 12 月 2 日

回答済み:

2013 年 12 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by