Problem with custom antenna magnitude response import
Afficher commentaires plus anciens
Hi there,
There is a problem when we try importing a custom magnitude response in the Simulink environment. We have the antenna radiating at maximum 10.9 dBi directivity, but it is only displays 8.78dBi in the antenna analysis tool. Basically, this is the code which we use to import:
filename = 'data.txt';
delimiterIn = ' ';
A = importdata(filename,delimiterIn);
mag_response = A(:,end-2);
phase_response = A(:,end-1);
mag_response = [mag_response; mag_response(end-180:end)];
phase_response = [phase_response; phase_response(end-180:end)];
m1 = vec2mat(mag_response,181);
m2 = vec2mat(phase_response,181);
m1 = m1';
m1 = m2';
After that we invoke m1 in the custom antenna gui in simulink and the image we get with the pattern is shown below.
Notice that we get maximum directivity under 9 dBi, whereas the maximum values in the matrix is 10.14 dBi. I am not sure what could cause this.
Is is something to do with the precision of the array?
<<

>>


Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Antennas, Microphones, and Sonar Transducers dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!