understanding how resp in phased.CustomAntennaElement works
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Philip
am 19 Feb. 2015
Beantwortet: Honglei Chen
am 23 Feb. 2015
I am tyring to understand the output from resp in the phased.CustomAntennaElement toolbox
The code is as follows:
myant= phased.CustomAntennaElement('AzimuthAngles',az, ...
'ElevationAngles',el,'RadiationPattern',pat_azel);
az, el is -90:90 and -180:180, pat_azel is the custom pattern 181x361
ang = [0 180];
resp = step(myant,fc,ang) gives 2 numbers ?
From the documentation thus far, ang is the value at az=0 elevation=180
so resp should only have a single value, I check the orginal output and it
is in dB mag. and not a vector. I followed this from the custom antenna element example.
Any feedback is welcome, thanks.
Regards, Philip
0 Kommentare
Akzeptierte Antwort
Honglei Chen
am 23 Feb. 2015
Hi Philip,
When you pass in ang = [0 180], it is considered as two angles, az = 0 and az = 180. if you pass in ang = [0;180], then it is one angle pointing at az = 0 and el = 180.
HTH
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Antennas, Microphones, and Sonar Transducers finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!