Error Unrecognized property 'L' for class 'patchMicrostrip'.
Mostra commenti meno recenti
When i run my code Matlab give me this Error, i dont know why
freq = 10e9;
lamda = physconst('LightSpeed')/freq;
ant_len = 0.5*lamda;
ant_width = 0.1*lamda;
ant_height = 0.01*lamda;
ant_imp = 50;
ant = design(patchMicrostrip, freq);
ant.L = ant_len;
ant.W = ant_width;
ant.H = ant_height;
ant.Z = ant_imp;
theta = linspace(-pi/2,pi/2,181);
phi = 0;
[PAT,theta] = pattern(ant,freq,theta,phi);
figure;
polarplot(theta,abs(PAT),'LineWidth',2);
title('Diagrama de Radiación de la Antena de Microbandas');
Risposte (1)
There is still an error in the below because I could not figure out what property Z might be intended to represent.
freq = 10e9;
lamda = physconst('LightSpeed')/freq;
ant_len = 0.5*lamda;
ant_width = 0.1*lamda;
ant_height = 0.01*lamda;
ant_imp = 50;
ant = design(patchMicrostrip, freq);
ant.Length = ant_len;
ant.Width = ant_width;
ant.Height = ant_height;
ant
ant.Z = ant_imp;
theta = linspace(-pi/2,pi/2,181);
phi = 0;
[PAT,theta] = pattern(ant,freq,theta,phi);
figure;
polarplot(theta,abs(PAT),'LineWidth',2);
title('Diagrama de Radiación de la Antena de Microbandas');
Categorie
Scopri di più su Get Started with MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!