User Guide
By default, the length of the returned object is that of the shorter list or vector.
If you specify a value as the (optional) fourth argument, it is used as the
value of the missing elements of the shorter list or vector. In this case, the
length of the return value is that of the longer list or vector. See Table 8.7.
Table 8.7: The zip Command
ExamplesCalling Sequence Syntax
> zip(f, [i, j], [k, l]);
> zip(AiryAi, [1, 2], [0], 1);
zip(proc_cmd, a, b);
zip(proc_cmd, a, b, fill);
For more information on the zip command, refer to the ?zip help page.
Additional Information
For more information on looping commands, refer to the corresponding
command help page.
8.3 Iterative Commands • 337