search for: targety

Displaying 1 result from an estimated 1 matches for "targety".

Did you mean: target
2010 Aug 09
2
TRUE/FALSE
Here is my code # determine the DDOA measurements for(e in 1:numSensors) { for(f in 1:numSensors) { if((combos[e,f]==1) { # true distance between each sensor and the target truedistance[e]<-sqrt((targetX-sensorX[e])^2+(targetY-sensorY[e])^2) # add an error that has a N(0, sigma^2) distribution truedistance[e]<-(truedistance[e]+rnorm(1, 0, sigma)) } #truedistance[1] <- (truedistance[1]+50) #determine DDOA measurements (reference sensor is sensor #1 here) index<-1 for(e in 1:numSe...