


SET_WEIGHTS Sets the weights in particle structures
Syntax:
W = set_weights(S,W)
In:
S - NTxN cell array containing particle structures
W - NTxN matrix containing the particle weights
Out:
S - NTxN cell array of updated particle structures
Description:
Convience function for setting the particles weights in
particle structures for the values given in a regular matrix.