Unexpected two sets of IQ samples from nrCDLChannel nrTDLChannel
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello
I am trying to introduce channel models to my IQ signal data via python and connected to matlab.engine.
```
def initialize_channel_models(mateng):
# Configure the single antenna array in MATLAB
mateng.eng.eval("single_antenna = struct();", nargout=0)
mateng.eng.eval("single_antenna.Size = [1, 1, 1, 1, 1];", nargout=0)
mateng.eng.eval("single_antenna.ElementSpacing = [0.5, 0.5, 1, 1];", nargout=0)
mateng.eng.eval("single_antenna.PolarizationAngles = 45;", nargout=0)
mateng.eng.eval("single_antenna.PolarizationModel = 'Model-2';", nargout=0)
mateng.eng.eval("single_antenna.Element = '38.901';", nargout=0)
single_antenna = mateng.eng.workspace['single_antenna']
nrcdl = mateng.eng.nrCDLChannel('DelayProfile', 'CDL-C', 'NormalizePathGains', True, 'TransmitAntennaArray', single_antenna)
nrtdl = mateng.eng.nrTDLChannel('DelayProfile', 'TDL-C', 'NormalizePathGains', True)
rayleigh = mateng.eng.comm.RayleighChannel('SampleRate', float(20e6), 'PathDelays', float(1.5e-9), 'AveragePathGains', float(-3), 'PathGainsOutputPort', True)
return {'NRCDL': nrcdl, 'NRTDL': nrtdl, 'Rayleigh': rayleigh}
```
Once applied to my waveform, rayleigh data returns one set of real and imaginary IQ data, but CDL and TDL returns two sets of it. I assumed it was because of the two polarization states, changed that to single as shown above, but I still get two sets of IQ samples. Additionally, this is also occuring for nrTDL data that does not involve the transmit antenna. Are two sets of data expected? What do they represent?
Best
Hud
0 comentarios
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!