how can i create a random motion with a specified curve
2 views (last 30 days)
Show older comments
hi
how can i produce a random motion with a specified curve ?
i want to simulate a random motion which is fitting the following curve. can anyone please help me with that ?
many thanks

an example like this

0 Comments
Accepted Answer
Image Analyst
on 25 May 2019
See my attached demo to fit a decay curve. Put in the points you see on the graph to train it. For example (0.5, 8) and (5, 1).
Then, simply use rand() to add random noise to the y vector, and possibly also the x vector (if you want).
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!