From: Richard on 19 Apr 2010 23:38 can anyone explain why the connectedTPs property of my bsobj object isn't being modified?--bsobj is an array of bsobj objects function tpobj = assignBS(tpobj,bsobj) for i=1:length(bsobj) [closestBSdist,closestBSID]=min(tpobj.BSdistances(:,2)); tpobj.ConnectedBS=closestBSID; bsobj(i).connectedTPs=[bsobj(i).connectedTPs; [ tpobj.IDnumber]]; end end
|
Pages: 1 Prev: plot help Next: Clusters by k means based on sensor measurements |