Borrar filtros
Borrar filtros

How to merge different matlab files into one file

3 visualizaciones (últimos 30 días)
Mohammad Sayeed
Mohammad Sayeed el 15 de En. de 2015
Comentada: Mohammad Sayeed el 15 de En. de 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?

Respuestas (1)

Image Analyst
Image Analyst el 15 de En. de 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.

Categorías

Más información sobre Financial Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by