The trouble with the code is a mismatch between the antenna dimensions and the transmitter frequency. The default design frequency for a monopole antenna is 75 MHz, and the software falls over when attempting to solve the antenna radiation pattern for a much higher frequency like 9.28 GHz. When I run the code as-is, I eventually get an "out of memory" error.
You can solve the issue by using the "design" function to set the dimensions of your antennas. For example, design both the tx and rx antennas for the transmitter frequency like this:
>> g1.Antenna = design(g1.Antenna,g1.TransmitterFrequency);
>> n1.Antenna = design(n1.Antenna,g1.TransmitterFrequency);
Now it should be a matter of seconds to generate a coverage map:
Best Answer