gr = gsp_grad(G,s)
G | Graph structure |
s | Signal living on the nodes |
gr | Gradient living on the edges |
For the non normalized Laplacian, the gradient of the node signal \(f\) evaluated at the edge linking \(x\) and \(y\) is given by:
Before using this function, you need to call the function:
G = gsp_adj2vec(G)