6 views (last 30 days)

Show older comments

Hi, I have 100 x 100 binary image, I have made 2 x 2 grid on it, within each grid I am taking centre-of-mass of the white pixels if they have any white pixels else represent the grid as NaN.x-coordinate mean in CXX and Y coordinate mean in CYY.. To get a grph I am plotting :-

plot(CYY,CXX,'k*');

But I need Adjacency Matrix of a graph..How can I get that.....

Jan
on 25 Feb 2018

Jan
on 25 Feb 2018

Jan
on 25 Feb 2018

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

Start Hunting!