averagetable

Calculates averages and standard deviations of finite numbers in all numerical columns of a table and appends them as new rows. the table.
18 Downloads
Aktualisiert 15. Mär 2019

Lizenz anzeigen

The table summary function yields minimum, maximum and median but not means and standard deviations. These can be calculated, but on a per row or column basis. This function examines all columns for numerical entries and averages all finite numbers (thus skipping Nan, +/-Inf entries).
Per default all numerical columns in the input table are averaged and the means, standard deviations (SD) and number of samples (N) are appended as three new rows to the output table. Non numerical columns are left as they are and the new rows get copies of the values in row1.
The optional row indices list input can be used to calculate only over specific rows. The SD and N rows can be omitted.
The new rows are labeled 'average', 'S.D.' and 'N'. If not previously named, all other rows will be named 'Row1, Row2,....RowN.

Zitieren als

Ronald Ouwerkerk (2024). averagetable (https://www.mathworks.com/matlabcentral/fileexchange/70585-averagetable), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2018b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Tables finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0