Artificial intelligent assistant

The incidence matrix of a weighted graph How to correctly build the incidence matrix of a undirected weighted graph? May you show a little example?

An incidence matrix $M$ is a matrix in $\mathbb{R}^{|V| \times |E|}$, where $M_{ij} = 1$ if vertex $i$ is incident to edge $j$, and $M_{ij} = 0$ otherwise.

You can replace the indicator value of $1$ with the edge weight instead.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy f0af97df575295ad7560c24756a020e5