# 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)