how can i create a random motion with a specified curve

조회 수: 1 (최근 30일)
ADNAN KIRAL
ADNAN KIRAL 2019년 5월 23일
댓글: ADNAN KIRAL 2019년 5월 27일
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
delete.png
an example like this
delete.png

채택된 답변

Image Analyst
Image Analyst 2019년 5월 25일
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).
  댓글 수: 3
Image Analyst
Image Analyst 2019년 5월 26일
편집: Image Analyst 2019년 5월 26일
Oh, I thought you were trying to create a simulation (you did mention simulation in your first post). If you have actual data, then simply use plot() to plot your existing data.
ADNAN KIRAL
ADNAN KIRAL 2019년 5월 27일
I see thanks for your reply.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by