📄 interpolate_2x2.m
字号:
function complete=interpolate_2x2(index,value,method,TxNum);
% index: value's point location
% value: underlying function
% method: used in matlab funcion interp1,such as 'linear','spline','cubic'
% TxNum: string indicating Tx Antenna number
switch TxNum,
case 'Tx1', % Need remove DC before interpolate
value(426)=[];
index(426)=[];
complete=interp1(index,value,2:1702,method);
complete=[complete(1),complete,complete(end)];
case 'Tx2',
complete=interp1(index,value,1:1703,method);
otherwise,
error('Unknown Tx Antenna!');
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -