MATLAB Answers

txsite with 'CoordinateSystem' set to 'cartesian'.

57 views (last 30 days)
Varsha Radhakrishnan
Varsha Radhakrishnan on 21 Dec 2020
how can I create and display a transmitter txsite with 'CoordinateSystem' set to 'cartesian'?
I am new to matlab and I could not find any examples. Please help

Answers (2)

Pratyush Roy
Pratyush Roy on 24 Dec 2020
Hi,
You may find this link helpful.
  4 Comments
Varsha Radhakrishnan
Varsha Radhakrishnan on 11 Jan 2021
Hi Pratyush,
I was trying to create a wireless rf transmitter at a particular coordinate location using the code below
txs=txsite('CoordinateSystem','cartesian', ...
'AntennaPosition',[4;4;12], ...
'AntennaHeight',antHeight, ...
'TransmitterFrequency',f, ...
'TransmitterPower',txPower);
coverage(txs);
It shows the error as mentioned before...
Thanks,
varsha

Sign in to comment.


Pratyush Roy
Pratyush Roy on 13 Jan 2021
Hi Varsha,
The RF Propagation interface does not offer visualization support for showing Cartesian sites, their coverage, or their antenna patterns.I have brought this issue to the concerned people and it might be considered in any future release.
As a workaround, one can use MATLAB Graphics to create a custom plot. The following example is available as of R2021a and shows how to plot Cartesian sites and rays using MATLAB Graphics:
Hope this helps!

Community Treasure Hunt

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

Start Hunting!