I need a function that generates a random polyline (matrix with two columns - x and y).
The step length and rotation is determined (from the previous direction) randomly
based on a uniform distribution. The range of length and rotation values,
as well as the number of steps are function parameters.
What have you tried so far? what is your specific problem?, we are more inclined towards helping you with specific coding problems rather than doing your work for you.