Signal Processing Toolbox | ![]() ![]() |
Multichannel Signals
Use standard MATLAB array syntax to work with multichannel signals. For example, a multichannel signal consisting of the last three signals generated above is
z = [t t.^2 square(4*
t)];
You can generate a multichannel unit sample function using the outer product operator. For example, a six-element column vector whose first element is one, and whose remaining five elements are zeros, is
a = [1 zeros(1,5)]';
To duplicate column vector a
into a matrix without performing any multiplication, use MATLAB's colon operator and the ones
function.
c = a(:,ones(1,3));
![]() | Common Sequences: Unit Impulse, Unit Step, and Unit Ramp | Common Periodic Waveforms | ![]() |