[years, ~, gg] = unique(dataset(:, 1))...what does this line mean?what is the use of unique function here?

2 ビュー (過去 30 日間)
OMKAR ACHARJEE
OMKAR ACHARJEE 2018 年 6 月 25 日
コメント済み: dpb 2018 年 6 月 25 日
i want to know what actually that line means?
  2 件のコメント
Adam
Adam 2018 年 6 月 25 日
doc unique
explains the unique function.
dpb
dpb 2018 年 6 月 25 日
And to amplify in the current context, clearly dataset holds the year of the data so the user is getting ready to process by year.
Probably the next section of code can be done more succinctly now via some of the other features in ML than the code is going to use, but we can't see that for sure...

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by