Assigning time series in a structure
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, I faced a problem with analyzing my data of stock price. All of the stocks and their prices were sorted by time. So I created a structure based on the number of unique tickers the stocks had. Thus, dividing the data into 300-ish parts. However, now I have a problem with time series analysis. The time in the structure is not considered a time vector. I would really appreciate if someone could explain why is that and how can I change that. Or maybe other way of analyzing it. Any example of analyzing the stocks prices would be helpful as well. Thank you very much.
2 commentaires
Réponses (1)
Peter Perkins
le 1 Oct 2018
Temirlan, I would think you'd want to read the spreadsheet using readtable, then convert that table to a timetable with one variable for each ticker. You have a lot of hard-to-follow code, and no example of what you are starting with and what you want to end up with.
0 commentaires
Voir également
Catégories
En savoir plus sur Workspace Variables and MAT Files dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!