Clear Filters
Clear Filters

Assign column names in a workspace table

4 views (last 30 days)
Hi, MatLab novice here
I have been given three data sets to analyse. I need to rename the columns in the tables as different things. I have tried looking for the answer elsewhere and cannot work it out, could someone please help/point me in the right direction?
Many thanks!

Accepted Answer

Steven Lord
Steven Lord on 27 May 2024
Use the renamevars function.
  1 Comment
Emma on 30 May 2024
Hi Steven, thank you so much! I did try this but as it turned out when I asked one of my colleagues, this was the code I needed to use-
EMG1FT= Fatigue_Trial(:,1)
to rename the specific columns in each data set. I'm very new to this and I really appreciate your suggestion, have a great day :)

Sign in to comment.

More Answers (0)


Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!