Several targets in phased.TwoRayChannel
4 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Honglei Chen
on 12 Oct 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 Comments
Honglei Chen
on 15 Oct 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
See Also
Categories
Find more on Signal Radiation and Collection in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!