?? f_compute_remain.m
字號:
function [input_mes_rt,input_mes_total_rt]=f_compute_remain(M,input_mes,input_mes_total,new_target_total,asso_mes)
%計算未關聯到的量測及數目
temp1=[];
temp2=linspace(0,0,M-1);
for i=2:M
mes_index=sum(input_mes_total(1:i-1));
for j=1:input_mes_total(i)
if new_target_total==0
temp1=[temp1 input_mes(:,mes_index+j)]
temp2(i-1)=temp2(i-1)+1;
elseif isempty(find(j==asso_mes(:,M)))
temp1=[temp1 input_mes(:,mes_index+j)];%未關聯上的量測
temp2(i-1)=temp2(i-1)+1;
end
end
end
input_mes_rt=temp1;
input_mes_total_rt=temp2;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -