You convert a vector to a sparse matrix.
for example x =[1 2 3];
output will be y =
[1 0 0
0 1 0
0 0 1];
159 Solvers
Make an awesome ramp for a tiny motorcycle stuntman
262 Solvers
243 Solvers
poll: would you like the regexp (?@cmd) functionality to be banned in Cody?
147 Solvers
194 Solvers
Problem Tags