⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 normalize_weights.m

📁 基于RBMCDA (Rao-Blackwellized Monte Carlo Data Association)方法的多目标追踪程序
💻 M
字号:
%NORMALIZE_WEIGHTS  Normalizes the weights of the given particles%% Syntax:%    S = normalize_weights(S)%% In:%   S   - 1xN cell array containing particle structures%% Out:%   S   - Updated particle structures%%% Description:%   Convience function for normalizing the particle weights.% History:%   27.01.2008  The first official version.%% Copyright (C) 2008 Jouni Hartikainen%% $Id: normalize_weights.m $%% This software is distributed under the GNU General Public % Licence (version 2 or later); please refer to the file % Licence.txt, included with the software, for details.function S = normalize_weights(S)   tmp = [S{:}];   W = [tmp.W];   W = W./sum(W);   for i = 1:length(S)     S{i}.W = W(i);    end

⌨️ 快捷键说明

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