How to merge different matlab files into one file
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Image Analyst
2015-1-15
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!