phased.PhaseCodedWaveform
Phase-coded pulse waveform
Description
The PhaseCodedWaveform
object creates a phase-coded
pulse waveform.
To obtain waveform samples:
Define and set up your phase-coded pulse waveform. See Construction.
Call
step
to generate the phase-coded pulse waveform samples according to the properties ofphased.PhaseCodedWaveform
. The behavior ofstep
is specific to each object in the toolbox.
Note
Starting in R2016b, instead of using the step
method
to perform the operation defined by the System object™, you can
call the object with arguments, as if it were a function. For example, y
= step(obj,x)
and y = obj(x)
perform
equivalent operations. When the only argument to the step
method
is the System object itself, replace y = step(obj)
by y
= obj()
.
Construction
H = phased.PhaseCodedWaveform
creates a phase-coded pulse
waveform System object, H
. The object generates samples of a phase-coded
pulse.
creates a phase-coded pulse waveform object, H
= phased.PhaseCodedWaveform(Name,Value
)H
, with additional
options specified by one or more Name,Value
pair arguments.
Name
is a property name, and
Value
is the corresponding value. Name
must
appear inside single quotes (''
). You can specify several name-value
pair arguments in any order as Name1,Value1,…,NameN,ValueN
.
Properties
|
Sample rate Specify the sample rate in hertz as a positive scalar. The default value of this property corresponds to 1 MHz. The value of this property must satisfy these constraints:
Default: | ||||||||||
|
Phase code type Specify the phase code type used in phase modulation. Valid values are:
Default: | ||||||||||
|
Custom phase code, specified as a length-M vector of
complex values. Each element in the specified vector corresponds to a single
chip. To enable this property, set the Custom Code Functions
Default: | ||||||||||
|
Time duration of each chip Specify the time duration of each chip in a phase-coded waveform as a positive scalar. Units are seconds. For this waveform, the pulse duration is equal to the product of the chip width and number of chips. The value of this property must satisfy these constraints:
Default: | ||||||||||
|
Number of chips Specify the number of chips per pulse in a phase-coded waveform as a
positive integer. The value of this property must be less than or equal to
The table shows additional constraints on the number of chips for different code types.
Default: | ||||||||||
|
Zadoff-Chu sequence index Specify the sequence index used in Zadoff-Chu code as a positive integer.
This property applies only when you set the Default: | ||||||||||
|
Pulse repetition frequency Pulse repetition frequency, PRF, specified as a scalar or a row vector. Units are in Hz. The pulse repetition interval, PRI, is the inverse of the pulse repetition frequency, PRF. ThePRF must satisfy these restrictions:
You can select the value of PRF using property settings alone or using
property settings in conjunction with the
In all cases, the number of output samples is fixed when you set the
Default: | ||||||||||
|
Enable PRF selection input Enable the PRF selection input, specified as Default: | ||||||||||
| Source of frequency offset Source of frequency offset for the waveform, specified as
Default: | ||||||||||
| Frequency offset Frequency offset in Hz, specified as a scalar. DependenciesThis property applies when you set the
Default: | ||||||||||
|
Output signal format Specify the format of the output signal as When you set the Default: | ||||||||||
|
Number of samples in output Specify the number of samples in the output of the Default: | ||||||||||
|
Number of pulses in output Specify the number of pulses in the output of the Default: | ||||||||||
| Set this property to Dependencies This property can be used only when the Default: | ||||||||||
| Enable matched filter coefficients output port Enable the matched filter coefficients output port, specified as Default: |
Methods
bandwidth | Bandwidth of phase-coded waveform |
getMatchedFilter | Matched filter coefficients for waveform |
plot | Plot phase-coded pulse waveform |
reset | Reset states of phase-coded waveform object |
step | Samples of phase-coded waveform |
Common to All System Objects | |
---|---|
release | Allow System object property value changes |
Examples
Algorithms
A 2-chip Barker code can use [1 –1]
or [1 1]
as
the sequence of amplitudes. This software implements [1 –1].
A 4-chip Barker code can use [1 1 –1 1]
or [1 1 1
–1]
as the sequence of amplitudes. This software implements [1 1 –1
1].
A Zadoff-Chu code can use a clockwise or counterclockwise sequence of phases. This software implements the latter, such as instead of . In these expressions, k is the index of the chip and f(k) is a function of k.
For further details, see [1].
References
[1] Levanon, N. and E. Mozeson. Radar Signals. Hoboken, NJ: John Wiley & Sons, 2004.