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

1 次查看(过去 30 天)
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??

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by