how do I make a random timeseries?

10 views (last 30 days)
zachary slawek
zachary slawek on 7 Dec 2021
Answered: Shivam Singh on 31 Jan 2022
I have one set of numbers which is the daily closing price of a stock for the last year. I am trying to make a random timeseries for the next year using the previous year. I only have one set of data which is the closing price and no dates just to make it less complicated. can anyone help me out with which code I should be using.
  1 Comment
Star Strider
Star Strider on 7 Dec 2021
I understand that I’m exposing my ignorance here, however what is the definition of a ‘random time series’?

Sign in to comment.

Answers (1)

Shivam Singh
Shivam Singh on 31 Jan 2022
Hello Zachary,
It is my understanding that you have a time series data, and you want to predict the next step(s).
You may refer the different tools available in MATLAB to predict the values for a time series:
I hope this may help you.

Community Treasure Hunt

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

Start Hunting!