Plotting target points within an n radius plot
Afficher commentaires plus anciens
I have created a detection range of 20 m radius and essentially created x,y,z points within that range randomly. What I want to be able to do is plot the detection circle, and then plot [detectionx, detectiony, guessz] as a point (maybe a red point) Similar to this (but without the blue points). Any help will be appreciated.

DetectionRange = 2*pi*(rand(1,1));
DetectionRadius = 20*sqrt(rand(1,1));
Detectionx = 20 + DetectionRadius.*cos(DetectionRange); %x coordinate of the dipole is randomly selected somewhere within the radius of 20.
Detectiony = 20 + DetectionRadius.*sin(DetectionRange); %y coordinate of the dipole is randomly selected somewhere within the radius of 20.
Guessz = 0;
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Vector Fields dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
