Error Unrecognized property 'L' for class 'patchMicrostrip'.
이전 댓글 표시
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');
답변 (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');
카테고리
도움말 센터 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!