How do I implement a script using system objects?
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello, I am new to Simulink so please go easy on me. I am trying to implement this particular example using system objects from the related toolboxes.
I have tried using different transmitters available but it does not seem to work. Any idea to create the Tx/Rx arras and set their locations? Thanks.
0 commentaires
Réponses (1)
NVSL
le 9 Sep 2025
Hey Ryan,
I noticed you're working on implementing the example of "Integrating Sensing and Communication" and are having some trouble creating Tx/Rx arrays and setting their locations.
You can create Tx/Rx antenna arrays as ULA system objects using the "phased.ULA" function. You can find the documentation for this here:
By default, the elements are placed along the y-axis, centered at the origin, with the spacing you specify. However, if you want to change the location or orientation, you'll need to specify that when you use the array in a scenario.
In the example mentioned in your question, the propagation channel between the transmitter and receiver is modeled using "phased.ScatteringMIMOChannel" as shown below:
channel = phased.ScatteringMIMOChannel('CarrierFrequency', carrierFrequency, 'TransmitArray', txArray,...
'TransmitArrayPosition', txPosition, 'ReceiveArray', rxArray, 'ReceiveArrayPosition', rxPosition,...
'TransmitArrayOrientationAxes',txOrientationAxis, 'ReceiveArrayOrientationAxes', rxOrientationAxis,...
'SampleRate', sampleRate, 'SimulateDirectPath', true, 'ScattererSpecificationSource', 'Input Port');
To update the location of the Tx and Rx arrays, you can use the Name-Value arguments "TransmitArrayPosition" and "ReceiveArrayPosition" with the new locations. This way, you can use the updated positions during simulation, depending on your scenario.
Hope this helps!
0 commentaires
Voir également
Catégories
En savoir plus sur Antennas, Microphones, and Sonar Transducers dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!