
2 Basic Signal Processing Concepts
2-6
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 = [ramp_sig quad_sig sq_wave];
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
the MATLAB colon operator and the ones function:
c = a(:,ones(1,3));
Komentarze do niniejszej Instrukcji