LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
getConnectionMatrix.m
1function connections = getConnectionMatrix(self)
2% [CONNMATRIX] = GETCONNECTIONMATRIX()
3
4% Copyright (c) 2012-2026, Imperial College London
5% All rights reserved.
6
7% connection matrix entries are setup by the addLink method
8connections = self.connections;
9if size(connections,1)< self.getNumberOfNodes
10 connections(self.getNumberOfNodes,1)=0;
11end
12if size(connections,2)< self.getNumberOfNodes
13 connections(1,self.getNumberOfNodes)=0;
14end
15end