mkzip

版本 1.0.2 (3.1 KB) 作者: Duijnhouwer
Matlab class to losslessly compress and uncompress numerical matrices and strings in memory
52.0 次下载
更新时间 2019/2/20

Matlab class to losslessly compress and uncompress numerical matrices and strings in memory

Example:

d = randi(8,1000,1000); % generate some data
M = mkzip(d) % returns compressed version of d in mkzip object M
d = M.unzip; % returns uncompressed data in d
r = M.ratio % returns the compression ratio r

This is a class wrapper for Michael Kleder dzip/dunzip functions. The main advantage of making this a class is that it is impossible to forget that a certain array is zipped and end up doing calculations on it as if it is the actual data, which could be disastrous. It also provides some extra functionality (e.g., ratio) and as a class only one M-file is needed instead of one for dzip and one for dunzip.

引用格式

Duijnhouwer (2024). mkzip (https://github.com/duijnhouwer/mkzip), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Denoising and Compression 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.2

updated help text, moved into github repository

1.0.1

Removed a redundant sub-function

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库