davestanley/MultiDi​mensionalDictionary

版本 2.0.0.0 (18.3 MB) 作者: David Stanley
MDD allows the implementation of multidimensional Python-esque dictionaries in MATLAB.
110.0 次下载
更新时间 2018/4/30

MATLAB Multidimensional Dictionary class
Summary: MDD allows the implementation of multidimensional Python-esque dictionaries in MATLAB.
Description: MDD can be interpreted in several different ways.

+ A map/dictionary that associates multiple keys with a single value
+ An N-dimensional table (a table is equivalent to an MDD object in 2-dimensions)
+ A matrix or cell array that can be indexed by using strings and regular expressions

WARNING: This is a work in progress. The core code is implemented, but documentation is missing. I will be updating it more over the coming months.

This code is similar to the multidimensional map function implemented by David Young. However, this implementation does not use MATLAB maps and instead is adds functionality to traditional MATLAB matrices and cell arrays.

Github: See GitHub page https://github.com/davestanley/MultiDimensionalDictionary

Example commands: See tutorial_MDD.m

Typical usage:
out = md(43:45,'test*', 1)
MDD objects can be indexed using normal Matlab indexing, or via regular expressions, which do a look up against previously defined axis names. The above example would return a new MDD object with indexes 43:45 along dimension 1, and with all axis values beginning with 'test' along dimension 2.

MATLAB Map Containers (https://www.mathworks.com/help/matlab/map-containers.html)
Multidimensional implementation of this by David Young (https://www.mathworks.com/matlabcentral/fileexchange/33068-a-multidimensional-map-class)

引用格式

David Stanley (2024). davestanley/MultiDimensionalDictionary (https://github.com/davestanley/MultiDimensionalDictionary), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Dictionaries 的更多信息
致谢

参考作品: A multidimensional map class

Community Treasure Hunt

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

Start Hunting!

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

版本 已发布 发行说明
2.0.0.0

Updated description
Pointed to new github repo
Updated description

1.0.0.0

Updated description

Updated description again
updated readme

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