Syntax
EL=ELofmatrixneigborweight(M,[method,neighb])
Input Parameter
M : | | 2D Matrix or [rows cols] |
method : | | such as 'abs' |
neighb : | | '8' or '4'; default ist '8' |
Output Parameter
EL : | | Edge list related to reshape(M,'',1) |
Examples
[M,GPL,~,ax]=matrixdistanceofCPL(CPLsample(3),30); whos M, whos GPL, SGfigure; matrixplot(M,'',ax);
EL=ELofmatrixneigborweight(M); whos EL
SGfigure; VLELplots(GPL,EL,'g-'); CPSplot(CPLsample(3));
Copyright 2019-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21