lpdaselection.m

来自「天线设计方面的资料」· M 代码 · 共 54 行

M
54
字号
function LPDASelection(handles);

BWRVal = get(handles.BWRVal,'Value');
BWR  = [1.5 3 5 10];
BWR = BWR(BWRVal);

TFVal = get(handles.TFVal,'Value');
TF = [20 100 2000];
TF = TF(TFVal);

BoomImpVal = get(handles.BoomImpVal,'Value');
BoomImp = [75 600];
BoomImp = BoomImp();

load LPDAParameters

N = N(BWRVal*3-2:BWRVal*3,:);
N = N(TFVal,:);

Z = Z(TFVal*2-1:TFVal*2,:);
Z = Z(BoomImpVal,:);

Gain = Gain(BWRVal*2-1:BWRVal*2,:);
Gain = Gain(BoomImpVal,:);

LineStyle = 'o:';

set(handles.Wizard,'CurrentAxes',handles.axes1);
cla reset 
plot(FF,N,LineStyle);
xlabel('\bf Form Factor');
ylabel('\bf Number of Dipole Elements');
SetAxis(FF,N)

set(handles.Wizard,'CurrentAxes',handles.axes2);
cla reset 
plot(FF,Z,LineStyle);
xlabel('\bf Form Factor');
ylabel({'\bf Geometric Mean Input Resistance',' / Boom Impedance'});
SetAxis(FF,Z)

set(handles.Wizard,'CurrentAxes',handles.axes3);
cla reset 
plot(FF,Gain,LineStyle);
xlabel('\bf Form Factor');
ylabel('\bf Gain (\rm{dBi}\bf)');
SetAxis(FF,Gain)

if get(handles.Grid,'Value')
    grid(handles.axes1,'on')
    grid(handles.axes2,'on')
    grid(handles.axes3,'on')
end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?