Make dataset arrays part of base MATLAB?

1 回表示 (過去 30 日間)
Eric Sampson
Eric Sampson 2013 年 1 月 18 日
Hi all, I was wondering if anyone else wished that the Statistic Toolbox's dataset arrays were included in base MATLAB. They are so handy! Even if just the basic dataset functionality was included in MATLAB, with the more advanced functionality/methods available only with a Stats toolbox license, that would be excellent IMHO. Thoughts?

採用された回答

owr
owr 2013 年 1 月 18 日
I agree 100% and have advocated for this since they were first released in 2007-2008(?)
The difference between dataset objects and other Toolbox specific functionality (IMO) is that the dataset object is/could be a fundamental building block that is application neutral - it is not a specific mathematical method that is only useful to a small user base. Anyone who has the need to store/process/manipulate/import/export tabular data of mixed types could benefit.
Im also someone who would not own MATLAB without the Stats Toolbox due to my work requirements, however I dont think that is reason enough to make the move to core MATLAB unnecessary. Core MATLAB functionality rarely includes features that are compatible with Toolbox specific objects. Toolboxes need to respect/handle core MATLAB features, but not the other way around. There are many functions in core MATLAB that could benefit from being able to handle dataset inputs/outputs.
I also would like to see the objects moved to core MATLAB so that they can be further developed/optimized. Access to dataset objects through either "." or "(.,.)" indexing is quite slow due to the object's subsref method being written in MATLAB. If this could be somehow rewritten the way it is for doubles, cell arrays, etc. I suspect performance could be improved considerably.

その他の回答 (2 件)

Matt J
Matt J 2013 年 1 月 18 日
編集済み: Matt J 2013 年 1 月 18 日
I'm sure most of us wish the same for any number of functions/classes in any number of toolboxes.
  1 件のコメント
Matt J
Matt J 2013 年 1 月 18 日
編集済み: Matt J 2013 年 1 月 18 日
You could try this FEX contribution
which looks to be a poor man's alternative to the Stats Toolbox's dataset object. I've never used it myself, though.

サインインしてコメントする。


Daniel Shub
Daniel Shub 2013 年 1 月 18 日
To me MATLAB would be nearly useless without the stats toolbox so I could really care less where the dataset functionality comes from. In fact, I am actually impressed by how well MATLAB assigns functions to toolboxes. I have access to a lot of toolboxes, but the toolboxes I use functions from, I use a lot of functions. In other words, there are no toolboxes that I can think of that I consistently use just a single function from.

カテゴリ

Help Center および File ExchangeCluster Configuration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by