MATLAB中的游程解码 [英] Run-length decoding in MATLAB

查看:89
本文介绍了MATLAB中的游程解码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了巧妙地使用线性索引或accumarray,我有时觉得有必要基于

For clever usage of linear indexing or accumarray, I've sometimes felt the need to generate sequences based on run-length encoding. As there is no built-in function for this, I am asking for the most efficient way to decode a sequence encoded in RLE.

为了使这个比较合理,我想为该功能设置一些规格:

As to make this a fair comparison I would like to set up some specifications for the function:

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆