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 Exchange에서 MATLAB에 대해 자세히 알아보기

질문:

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