Three column table into matrix

14 views (last 30 days)
Lennard Schneider
Lennard Schneider on 1 May 2021
Answered: Chad Greene on 1 May 2021
i need to create a Matrix out of this table.
userid should be the columns.
movieid should be the rows
and rating the xy pair
for example A(1,1) =4

Answers (1)

Chad Greene
Chad Greene on 1 May 2021
I think table2array is the function you're looking for.


Find more on Multidimensional Arrays 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!