Clear Filters
Clear Filters

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

1 view (last 30 days)
i want to know what actually that line means?
  2 Comments
dpb
dpb on 25 Jun 2018
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...

Sign in to comment.

Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!