MATLAB Answers

Three column table into matrix

4 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.




Community Treasure Hunt

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

Start Hunting!