(Select all that apply) In which of the following situations would you typically use a categorical array?

17 ビュー (過去 30 日間)
Please answer the below question shown in image.
  1 件のコメント
Sangat Naik
Sangat Naik 2021 年 10 月 16 日
Please answer any one. If any one know please answer.

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

採用された回答

Lei Hou
Lei Hou 2021 年 10 月 17 日
Hi Sangat,
Typically, categorical is useful when your array is large, contains duplicated values and has finite set of discrete categories. For example, a very long vector of US states. A categorical array provides efficient storage and convenient manipulation of nonnumeric data. Regarding the situations you provided, I would recommend:
  • A list of text where some values in the list are repeated
  • A column in a table that labels which group each row belongs to
Thanks,
Lei
  3 件のコメント

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

その他の回答 (1 件)

Arliya Marin Mathew
Arliya Marin Mathew 2021 年 10 月 21 日
●A list of text where some values in the list are repeated ●A fixed set of possibilities ●A column in a table that labels which group each row belongs to

カテゴリ

Find more on Categorical Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by