real time point tracking and confining it within a predefined boundary
Ältere Kommentare anzeigen
hi everyone, i need a matlab code to track any point in a 2 dimensional plane and not allowing it to cross a predefined boundary. The boundary,for example, can be defined by x and y coordinates which may be predefined or entered by the user. The point is to move randomly and stay inside that boundary.
Thanks
1 Kommentar
Oleg Komarov
am 26 Mär. 2012
http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Antworten (1)
Matt Kindig
am 26 Mär. 2012
This forum won't just send you MATLAB code without you showing us what you've done so far (as this sounds a bit like homework). To get you started, though, check out
doc inpolygon
Kategorien
Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!