pls help in writing a code for random movements of a point on x-y plane
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Write a code showing random movements of a point on x-y plane. The initial position of the point is [x y] = [0 0]. The step size of the random displacements is eps <= 1. Calculate the radial displacement of the point, Delta r = sqrt(x^2+y^2), and show that the histogram of Delta r follows the Gaussian distribution (hint: use the functions of "hist" and "bar").
i am a beginner in matlab and unable to write a code for this. pls help and guide. thanks in advance.
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Histograms en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!