photo

Lola Davidson

Last seen: 4 days ago Active since 2018

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • MATLAB Mini Hack 2022 Participant
  • Revival Level 1
  • First Answer

View badges

Feeds

View by

Answered
Slice matrix upon "group ID" to get the mean
For those stumbling on this more recently, MATLAB now has the grouptransform function introduced in R2018b. It can be used to ma...

6 months ago | 1

Answered
Working with grouped data - data access and analysis (standard deviation)
For those stumbling on this more recently, you can keep all your data together in a timetable and compute the grouped calculatio...

6 months ago | 0

Answered
Find Number of Elements in an Array
If you prefer avoiding cell arrays and/or tables, groupcounts (introduced in R2019a) can do this straight away A = ['KM'; 'KL';...

6 months ago | 0

| accepted

Answered
Find unique groups in table with members both before and after date
The groupfilter function was introduced in R2019b to simplify these types of workflows. Just specify which variables define the ...

6 months ago | 0

Answered
Cumulative sum of groups
The grouptransform function was introduced in R2018b to help make problems like this a bit simpler. You can avoid the tricky cel...

6 months ago | 1

Answered
How to do a group by in matlab
For those still stumbling on this, MATLAB now has several more functions to help with grouping workflows, including groupsummary...

6 months ago | 0

Answered
How to make tasks for lives editor.
This feature is now available as of R2022a. Please see the documentation to get started: https://www.mathworks.com/help/matlab/...

1 year ago | 1

| accepted

Answered
How to transform a table to a nested structure comparable to a pivot table in excel?
As of R2023a, you can use the "pivot" function to orient the data more like what excel provides: https://www.mathworks.com/help/...

1 year ago | 1

Answered
How to create a pivot table
As of R2023a, you can use the "pivot" function: https://www.mathworks.com/help/matlab/ref/pivot.html Tout = pivot(Tin, Rows=...

1 year ago | 1

Answered
How can I create pivot table like excel in Matlab
As of R2023a, you can use the <https://www.mathworks.com/help/matlab/ref/pivot.html pivot> function that ships with MATLAB.

1 year ago | 0

Answered
How to do pivot from table-type variable
As of R2023a, you can also use the <https://www.mathworks.com/help/matlab/ref/pivot.html pivot> function. pivotedTable = pivo...

1 year ago | 3

Answered
Can I use UNIQUE to get a count of the number of times each element is repeated?
As of R2019a, you can use groupcounts for this: >> a = [12 34 78 8 12 3 34 34]'; >> [counts, groupnames] = groupcounts(a) cou...

2 years ago | 9

Answered
Average a section of a column in a table based on another column values
Hi Gabi, We actually have several functions that can help with these "grouped calculations". In particular, I think groupsummar...

2 years ago | 0

Answered
Live script tasks: Reading the variables from a table using "tasks"
Hi GS76, The reason that you cannot access the table variable is that the "X-axis" dropdown is filtering out table variables th...

4 years ago | 1

| accepted

Answered
Inconsistent behavior between Command Window and scripts, unexpected error using 'end' and 'max'
Hi Joseph, Thank you for bringing this behavior to our attention. This appears to be related to a known issue. Please see the...

6 years ago | 0

| accepted