MATLAB Answers

Info

This question is closed. Reopen it to edit or answer.

can a timetable column reference a function handle automatically and dynamically add current value based on a set of computations?

1 view (last 30 days)
Andy
Andy on 15 Mar 2018
Closed: MATLAB Answer Bot on 20 Aug 2021 at 18:11
I know we can always add a new column referencing a function, such as:
timeTable.Data = functionOf(timeTable.ExistingVar);
But was interested in something that'd be done automatically based on content of all other table columns and transparently when a new line is entered ...
Something along the lines of a column that automatically computes best/worst performers (max/min/etc) on all the other columns & does a set of operations based on its previous values ... say something like this:
newValue = previousValue + max(values in columns 1:10) on the last line.

Answers (0)

Community Treasure Hunt

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

Start Hunting!