Fix Table Variable Names After Applying Function

Version 1.0.0 (1.38 KB) by Cem Tutuncu
When you apply a function to table variables, Matlab creates a new table with variable names "function_original name". This code fixes that.
1 Download
Updated 28 Feb 2023

View License

When you apply a function to table variables, Matlab creates a new table with variable names "function_original name". This code fixes that. You have to supply the new table the function creates, the original table that contains the variable names, and the name of the function applied as a string. Helps with functions such as groupsummary, varfun etc.

Cite As

Cem Tutuncu (2024). Fix Table Variable Names After Applying Function (https://www.mathworks.com/matlabcentral/fileexchange/125440-fix-table-variable-names-after-applying-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0