Matlab 2011 and 2013 difference -JPEG encoder
古いコメントを表示
I've downloaded the JPEG encoder from github: https://github.com/pornel/jpeg-compressor The encoder works in Matlab 2011 but works uncorrectly in Matlab 2013 or higher. During analyzing the code step by step in parallel in both version of Matlab I realize that the outputs for bitshift() function are different:
PutBuffer = 2.753693055057920e+14
Matlab 2011:
bitshift(PutBuffer, 8) = 7.444147426295808e+015
Matlab 2013:
bitshift(PutBuffer, 8) = 7.049454220948275e+16
Do You have any idea what is the difference?
回答 (1 件)
Steven Lord
2016 年 4 月 25 日
0 投票
See the third row of the table in the "Functionality being removed or changed" item in the Mathematics section of the Release Notes for release R2012b for information about a change to bitshift that I believe is the cause of the behavior you're seeing.
カテゴリ
ヘルプ センター および File Exchange で Images についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!