Community Profile

photo

Leonardo Fernandes


Con actividad desde 2018

Followers: 0   Following: 0

Estadísticas

  • First Review
  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


How can I retrieve the numbers that appears only one time in a cell?
cell = {[1 2 3] [3 4] [1 2 3 4 5 6] [4 6 7]}; The desired answer would be: 1 2 3 4 5 6 7. Thank you all and best regards.

más de 5 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Hello. I'm using the function ''shortestpath'' to solve a problem. However, I wish the output was a matrix with two columns, one the ''from'' nodes and the other the ''to'' nodes. Any ideas?
%%using the shortestpath function on the example below, we have the following answer: from = [1 2 3 3 5]; to = [...

casi 6 años hace | 1 respuesta | 0

1

respuesta