I am trying to use the function 'text2bitseq' that I've seen in some code from a "From signals to packets" course but I am getting an error saying that that function is undefined. First I thought that I did not have some needed toolkit installed but I have searched for it in the Matlab documentation page and I haven't found anything about it, but the guy from the course uses it all the time.
Is just a function that is now deprecated? if so, what should I use instead. If not, what am I missing?
Thanks

 採用された回答

Shannon Cherry
Shannon Cherry 2018 年 8 月 27 日
編集済み: Shannon Cherry 2018 年 8 月 27 日

2 投票

text2bit is not a matlab command, you need to write a separate function to convert a text/string into binary data and call this function wherever required. You can refer to this link if it helps.
https://de.mathworks.com/matlabcentral/answers/305999-how-to-convert-a-string-to-binary-and-then-from-the-binary-back-to-string

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2018 年 8 月 27 日

コメント済み:

2018 年 8 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by