All Questions
2 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 ...
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(...