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 ExchangeNetworks についてさらに検索

タグ

質問済み:

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