Several targets in phased.TwoRayChannel
Ältere Kommentare anzeigen
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
am 12 Okt. 2018
0 Stimmen
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
am 15 Okt. 2018
Bearbeitet: Dominic Ruh
am 15 Okt. 2018
Honglei Chen
am 15 Okt. 2018
Thanks for the code, do you encounter any issue with this code? if so, what is it? Thanks.
Dominic Ruh
am 15 Okt. 2018
Honglei Chen
am 15 Okt. 2018
It looks reasonable to me. I notice one thing is you want to change reflection coefficient from run to run. We currently don't have good support for this and I'll look into this and see how we can make this easier for you in the future.
Dominic Ruh
am 15 Okt. 2018
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
Kategorien
Mehr zu Transmitters and Receivers finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!