Well I am new with this function, but I saw a lot of bad comments about it in the community. However in the PTC Help Center includes a great example of this function.
I have a very similar curve from a stock market. I am using this function and it seems that sometimes works, sometimes not. I am guessing that is because the quantity of the sample used to predict. In your posts, you use like a half of the range (k=0..99 so n=50), and yu have very good results. I am trying.
If this fails, I am thinking also in Taylor or Pade aproximations. Do you have any suggestion on this? Am I believing in Santa Claus?
I found some interesting results. Maybe predict is not the best method, but in comparison to the other techniques of prediction of the Market, this thing is gold. World is crazy. I still will try with other options and if someone had some ideas, suggestions and critics, all are welcomed!
In the example, O is a matrix that indicates the closing price of the market in 1-minute interval.