graph path

I have a graph matrix as eye(200). I want to make a path that traverse this line appears diagonally. In addition, I have many such matrices of similar behavior not precisely as eye where position of 1 and 0 are fixed.
How can I find path in such matrices in easiest way?
Thanks

类别

帮助中心File Exchange 中查找有关 Networks 的更多信息

标签

提问:

A
A
2011-6-29

Community Treasure Hunt

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

Start Hunting!

Translated by