Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Obtaining laplacian of a graph

조회 수: 1 (최근 30일)
Deepa Maheshvare
Deepa Maheshvare 2018년 12월 16일
마감: MATLAB Answer Bot 2021년 8월 20일
The Neumann Laplacian of a simple graph(G) can be formed from the commands degree(G) and adjacency(G), L= D- A .
Could someone suggest how Dirichlet laplacian can be obtained?
  댓글 수: 5
Deepa Maheshvare
Deepa Maheshvare 2018년 12월 19일
I tried the above formula for an 1 D graph with 5 nodes.
d = 1,
L = 2*d*I + (2*d*I - D) - A,
gives,
3 -1 0 0 0
-1 2 -1 0 0
0 -1 2 -1 0
0 0 -1 2 -1
0 0 0 -1 3
whereas, the pseudo dirichlet 2*d*I-A (1.9)gives
2 -1 0 0 0
-1 2 -1 0 0
0 -1 2 -1 0
0 0 -1 2 -1
0 0 0 -1 2
which matches with the laplacian computed using centered difference formula for the second derivative operator with dirichlet boundary condition.
Also, I am not sure how the dimensionality of any given graph can be determined.
Any suggestions?
Christine Tobler
Christine Tobler 2018년 12월 19일
A graph doesn't have an inherent dimensionality, this would have to be based on the construction of the graph. Perhaps the linked paper has more information.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by