I need help???? can anybody help me??? I have to use Matlab. I am giving details of problem.(adsbygoogle = window.adsbygoogle || []).push({});

-a man starts in some initial location (xm,ym) and moves with a constant speed along the straight line of the predefined angle.

-a dog starts in another initial location (xd,yd) and moves towards a man with a constant speed in such a way that in each step it moves directly along the line connecting the current positions of a dog and a man

-the algorithm should terminate after the man’s move, if the distance between the man and the dog allows the dog to catch the man in its next step

-extra marks will be given if your implementation allows setting not only the initial velocity, but also the accelerations of both man and a dog.

-the algorithm must output the number of steps in which the dog catches the man.

http://pics-68.hi5.com/userpics/468/...799468.img.jpg

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Help dog chasing a man in matlab

Loading...

Similar Threads - Help chasing matlab | Date |
---|---|

How to program this in Matlab | Feb 28, 2018 |

Matlab MATLab: Not enough inputs for nlinfit | Nov 16, 2017 |

Matlab Help needed to fix a matlab code | Nov 8, 2017 |

LaTeX Help with page dimensions in latex | Nov 2, 2017 |

Matlab Octave integral computation help | Apr 20, 2017 |

**Physics Forums - The Fusion of Science and Community**