Define 1xEV-DO reverse reference channel
returns
a structure, cfg = evdoReverseReferenceChannels(wv)cfg, that defines 1xEV-DO reverse
link parameters given the input waveform identifier, wv.
Pass this structure to the evdoReverseWaveformGenerator function
to generate a reverse link reference channel waveform.
For all syntaxes, evdoReverseReferenceChannels creates
a structure that is compliant with the cdma2000® high
data rate packet specification,[1].
specifies
the number of packets to be generated.cfg = evdoReverseReferenceChannels(wv,numpackets)
Create a structure to generate a Release 0, 1xEV-DO waveform having a 19.2 kbps data rate.
config = evdoReverseReferenceChannels('Rel0-19200');Verify that the packet has a data rate of 19.2 kbps.
config.PacketSequence.DataRate
ans = 19200
Generate the complex waveform.
wv = evdoReverseWaveformGenerator(config);
Create a structure for a Revision A 1xEV-DO channel having 2048-bit packets, transmitted in 12 slots. Specify that five packets are transmitted.
config = evdoReverseReferenceChannels('RevA-2048-12',5);Verify that a 1-by-5 structure array is created. Each element in the structure array corresponds to a data packet.
config.PacketSequence
ans=1×5 struct array with fields:
Power
DataSource
EnableCoding
PayloadSize
NumSlots
DataRate
Examine the first structure element to verify the packet size and the number of slots are as specified in the function call.
config.PacketSequence(1)
ans = struct with fields:
Power: 0
DataSource: {'PN9' [1]}
EnableCoding: 'On'
PayloadSize: 2048
NumSlots: 12
DataRate: 102400
Generate the waveform.
wv = evdoReverseWaveformGenerator(config);
wv — Waveform identificationWaveform identification of the reference channel, specified as a character vector.
| Parameter Field | Values | Description |
|---|---|---|
wv |
| Character vector representing the 1xEV-DO Release 0
data rate in bps. For example, you can specify
|
| Character vector representing the 1xEV-DO Revision
A packet size in bits and the number of slots. For
example, you can specify |
Example: 'Rel0-38400'
Example: 'RevA-3072-12'
Data Types: char
numpackets — Number of packets1 (default) | positive integer scalarNumber of packets, specified as a positive integer.
Example: 2
Data Types: double
cfg — Configuration of the parameters and channels used by the waveform generatorConfiguration of the parameters and channels used by the waveform generator. The configuration structure is defined in these tables.
Parameter Field | Values | Description |
|---|---|---|
Release | 'Release0' | 'RevisionA' | 1xEV-DO applicable standard |
LongCodeMaskI | 42-bit binary number | Long code identifier for in-phase channel |
LongCodeMaskQ | 42-bit binary number | Long code identifier for quadrature channel |
NumChips | Positive scalar integer | Number of chips in the waveform |
OversamplingRatio | Positive scalar integer | Oversampling ratio at output |
FilterType | 'cdma2000Long' | 'cdma2000Short' | 'Custom' | 'Off' | Specify the filter type or disable filtering |
CustomFilterCoefficients | Real vector | Custom filter coefficients (applies when |
InvertQ | 'Off' | 'On' | Negate the quadrature output |
EnableModulation | 'Off' | 'On' | Enable carrier modulation |
ModulationFrequency | Nonnegative scalar integer | Carrier modulation frequency (applies when |
ACKChannel | Structure | See ACKChannel substructure. |
PilotChannel | Structure | See PilotChannel substructure. |
AuxPilotChannel | Not present or structure | See AuxPilotChannel substructure. |
PacketSequence | Structure | See PacketSequence substructure. |
ACKChannel SubstructureInclude the ACKChannel substructure in the cfg structure
to specify the acknowledgment channel. The ACKChannel substructure
contains these fields.
Parameter Fields | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Character vector to enable or disable the channel |
Power | Real scalar | Channel power (dBW) |
DataSource | Cell array, Standard PN sequence options are | Data source. Specify a standard PN sequence with a random number seed or a custom vector. |
PilotChannel SubstructureInclude the PilotChannel substructure in
the cfg structure to specify the pilot channel.
The PilotChannel substructure contains these fields.
Parameter Fields | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Character vector to enable or disable the channel |
Power | Real scalar | Channel power (dBW) |
DataSource | Cell array, Standard PN sequence options are | Data source. Specify a standard PN sequence with a random number seed or a custom vector. |
EnableCoding | 'On' | 'Off' | Enable channel coding |
AuxPilotChannel SubstructureInclude the AuxPilotChannel substructure
in the cfg structure to specify the auxiliary
pilot channel, which is available only for Revision A. The AuxPilotChannel substructure
contains these fields.
Parameter Fields | Values | Description |
|---|---|---|
Enable | 'On' | 'Off' | Character vector to enable or disable the channel |
Power | Real scalar | Channel power (dBW) |
DataSource | Cell array, Standard PN sequence options are | Data source. Specify a standard PN sequence with a random number seed or a custom vector. |
EnableCoding | 'On' | 'Off' | Enable channel coding |
PacketSequence SubstructureInclude the PacketSequence substructure in
the cfg structure to define a sequence of data
packets for consecutive transmission. The PacketSequence substructure
contains these fields.
Parameter Field | Values | Description |
|---|---|---|
Power | Real scalar | MAC index associated with the packet |
EnableCoding | 'Off' | 'On' | Enable error correction coding |
DataSource | Cell array, Standard PN sequence options are | Data source. Specify a standard PN sequence with a random number seed or a custom vector. |
| Release 0 | ||
DataRate | 9600 | 19200 | 38400 | 76800 | 153600 | Data rate (bps) |
| Revision A | ||
PacketSize | 128 | 256 | 512 | 768 | 1024 | 1536 | 2048 | 3072 | 4096 | 6144 | 8192 | 12288 | Packet size (bits) |
NumSlots | 4 | 8 | 12 | 16 | Number of slots |
Data Types: struct
[1] 3GPP2 C.S0024–A v3.0. “cdma2000 High Rate Packet Data Air Interface Specification.” 3rd Generation Partnership Project 2.
You have a modified version of this example. Do you want to open this example with your edits?