Clear Filters
Clear Filters

Assign column names in a workspace table

16 views (last 30 days)
Emma
Emma on 27 May 2024 at 20:29
Commented: Emma on 30 May 2024 at 18:45
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 at 20:56
Use the renamevars function.
  1 Comment
Emma
Emma on 30 May 2024 at 18:45
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)

Categories

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!