How to merge different matlab files into one file
조회 수: 3 (최근 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에서 Financial Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!