Created
November 25, 2017 14:34
-
-
Save import-benjamin/6512aef6ab8ad098cadbb1cf10bb2f3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// desc : on récupère les prédecesseurs d'un sommet | |
// input : sommet (X), matrice d'adjacence (M) | |
function LP = predecesseurs(M,X) | |
LP = find(M(:,X) == 1) | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment