How to merge different matlab files into one file

1 vue (au cours des 30 derniers jours)
Mohammad Sayeed
Mohammad Sayeed le 15 Jan 2015
Commenté : Mohammad Sayeed le 15 Jan 2015
I have different Matlab files containing columns of stock price data. I need to incorporate all the price columns into one file. In the new file the price series of different stocks will be shown in consecutive columns. Can anyone help?

Réponses (1)

Image Analyst
Image Analyst le 15 Jan 2015
How about load() and save()? Or readtable() and writetable()? Or xlsread() and xlswrite()? Just try something, experiment around and read the help - that's how you learn. I can't really say how you can "stitch" these two different arrays together since it depends on what kind of data type they are and if they have the same number of rows and columns, and if the rows mean the same things in the two data sets (like dates that both tables have in common, either all dates, or some dates). You forgot to attach any data so we can't really do much more.

Catégories

En savoir plus sur Financial Toolbox 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!

Translated by