Three column table into matrix

8 views (last 30 days)
Lennard Schneider
Lennard Schneider on 1 May 2021
Answered: Chad Greene on 1 May 2021
Hello,
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.

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!