Skip to main content

All Questions

0 votes
1 answer
214 views

MATLAB fread 24 bit convert to Python

I am trying to convert some MATLAB code to Python. The code reads audio data from serial: out = fread(s,s.bytesavailable,'uint8'); % [255 205 217 255 212 60 255 207 132 255 ...] 'out' is then saved ...
cjbarker's user avatar
0 votes
0 answers
743 views

Delta compression, port matlab code to python

The following matlab function decodes a signal delta-encoded: % Method : DeltaCompression % Description : Decode delta compressed signal % function data = DeltaCompression(file, data) if ftell(...
JPFrancoia's user avatar
  • 5,669