Filter löschen
Filter löschen

Several targets in phased.TwoRayChannel

3 Ansichten (letzte 30 Tage)
Dominic Ruh
Dominic Ruh am 12 Okt. 2018
Kommentiert: Honglei Chen am 15 Okt. 2018
Hello,
I wanted to investigate several targets in one simulation. Assuming the 'MeanRCS' property of the phased.RadarTarget consists of [RCS1, RCS2, ... RCSM] 1xM elements, the phased.TwoRayChannel models Nx2M channels, where N denotes the number of samples of the signal and 2M because it is a two ray channel model. Hence, every radar target scatters back in two channels. Running the simulation, I get the following error:
Error using coder.internal.errorIf (line 8) MeanRCS must be a scalar or a vector with the same number of columns as the input 'X'.
Now the questions:
- Do I have to change the MeanRCS property to [RCS1, RCS1, RCS2, RCS2, ... RCSM, RCSM] with size 1x2M elements?
- For the GroundReflectionCoefficient property of the phased.TwoRayChannel object do I have to give 1xM elements or 1x2M elements?
Thank you in advance!
Best regards, Dominic

Antworten (1)

Honglei Chen
Honglei Chen am 12 Okt. 2018
From the surface, I would say MeanRCS needs to be made to a 1x2M vector as you outlined, but GroundReflectionCoefficient property probably just need a 1xM element. If you encounter any issue, it would be helpful to provide how you call the channel and the dimension of each input and I'd be more than happy to look into it.
HTH
  6 Kommentare
Dominic Ruh
Dominic Ruh am 15 Okt. 2018
But it is correct, that the reflection coefficient has to change from run to run in case of a moving target since the angle of incidence changes?
Honglei Chen
Honglei Chen am 15 Okt. 2018
Yes, I agree. I'm simply saying that we didn't consider your use case. In polarized case, this is automatically done but you want to do it manually and we should make it easier for you by not having to call release().
HTH

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by