Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
union of two path

Subject: union of two path

From: alpha041

Date: 12 Jul, 2014 03:18:52

Message: 1 of 1

if we have path1 and path2 defined as below:
path1=[1,2,4,9]
path2=[1,7,3,9]
how can we create a graph that it's edges are edges in path1 plus edges in path2 ?
edges of such graphs must be {[1,2],[2,4],[4,9],[1,7],[7,3],[3,9]}
thanks all

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us