hallo...i'm still a beginner in matlab 7. how to create a rectangular waveform based on the input array using matlab 7?...does anyone has the source code... for example, if my input array is logic levels (1 0 1 1 1 0), how to create a rectangular waveform that if my input is logic 1, then, the rectangular waveform will up to the highest level..and if logic 0, it will down to the lowest level..