Bistatic radar example not working for rectangular arrays
Show older comments
The functoin "transmit()" of the bistaticTransmitter crashes when the transmitter is using a rectangular array (or, in general, any non ULA antenna) due to the function accessing the number of elements of the array as "obj.TransmitAntenna.Sensor.NumElements" instead of calculating the number of elements from the size property of the array.
Accepted Answer
More Answers (1)
Adarsh
on 9 Apr 2026 at 20:05
0 votes
As per my understanding you are facing an error related to a missing field "NumElements" while running "transmit()" function of the "bistaticTransmitter". This looks like a bug.
After going through the file "bistaticTransmitter.m" I have found that the "obj.TransmitAntenna.Sensor" object contains a "getNumElements" method, after using this to get the output instead of "NumElements" property I was able to resolve the error temporarily.
Alternatively, you can try installing the latest update of MATLAB to check if its resolved in the release.
I hope this helps!
1 Comment
Sergi Aliaga
on 9 Apr 2026 at 20:18
Categories
Find more on Transmitters and Receivers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!