I am trying to get a unique sequence form given sets?

1 view (last 30 days)
example:s1=[1 2 3],s2=[4 5 6] now what I need is x=[1 4 2 5 3 6] or x=[1 4 5 2 6 3], each element will come from sets in a unique manner, i.e each element should come only if it preceding number is present??

Answers (0)

Categories

Find more on Robust Control Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!