Create a Segmented Wave in Illustrator

The curvy path in the picture is made up of little segments that can be reflected and aligned to create a curvy path. Each segment can be scaled up or down to create interest and impact. You can unite them using Pathfinder to create a single colour or gradient wave.

The tutorial is for Illustrator CC but I think all the functionality to do it is in CS6 and maybe earlier :):