Hmm noch immer nicht so ganz.
Bei:
function ausg=openbit2(xname)
fid = fopen(xname,'rb');
x = fread(fid, 'uint8');
ausg = rem(floor(pow2(-7:0)' .* x), 2);
fclose(fid);
kommt jetzt:
??? Error using ==> times
Matrix dimensions must agree.
Error in ==> openbit2 at 6
ausg = rem(floor(pow2(-7:0)' .* x), 2);
MfG Thomas
↧