Sort a table with strings and numbers by each unique string?

1 view (last 30 days)
I'm coming back to MATLAB for the first time in 2 years and I'm having some difficulty trying to sort a .csv file (see table below for example). The first column contains a SKU string, and the other 3 columns are dimensions.
How do I:
  1. Place all the data into a matrix
  2. Take each unique SKU and make a matrix containing all related measurements
After that, I just have to use some loops to get averages of the measurements. Can anyone help to get me started?
Thanks!

Answers (0)

Categories

Find more on Shifting and Sorting Matrices 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!