How to draw a directed graph in matlab?

I have a matrix with ordinal numbers like below. I want to connected the nodes as you see in this picture. this is a directed graph. I have MATLAB 2015a. how can i draw graph like this and put it on my image with ? as you see in the picture the node number one in (4,8) is should connected to the other node with directed graph. and node number2 should connect to other except node number 1 and so on( the node should connect to node with bigger number)

Answers


@Miki: thanks for your answer.(Check out this, or biograph)


Need Your Help

Symfony routing URL works but its wrong

php symfony1 symfony-1.4

I have the following I have the following settings at routing.yml:

Ruby: Seaching a hash for something

ruby-on-rails ruby

I'm using the Highrise API and Ruby wrapper, but my problem is that (besides having a nightmare of a time with the API it self) I want to search a hash that is returned for something: