how to find short path on graph

조회 수: 1 (최근 30일)
Hazim Nasir
Hazim Nasir 2018년 2월 9일
댓글: Hazim Nasir 2018년 2월 9일
hello I have a directed graph with many streams shown in the picture, so I try to solve this problem using graph theory in MATLAB but even very simple code on graph does not work I use R2015a, for using graph or digraph I got the error : Undefined function or variable 'digraph'. the points of the graph arranged as x,y, the first and last points are start and goal respectively thank you in advance for any help 30 10 30 191 30 10 45 206 30 191 45 206 45 206 155 206 155 206 170 191 155 206 170 11 170 191 170 11
  댓글 수: 2
Star Strider
Star Strider 2018년 2월 9일
The digraph function was introduced in R2015b.
Hazim Nasir
Hazim Nasir 2018년 2월 9일
thank you, I have to upgrade

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graph and Network Algorithms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by