.csv to .mat
조회 수: 4 (최근 30일)
이전 댓글 표시
How do I convert .csv files into .mat files. Specifically to interchange new files into the scrips from Algorithmic Trading with MATLAB - 2010 (the webinar). I want to use other files instead of "Bund1min.mat"
Files and webinar:
(Algorithmic Trading with MATLAB - 2010 by Stuart Kozola 22 Nov 2010 (Updated 06 Dec 2010) Code covered by the BSD License Files from the November 18, 2010 webinar.)
댓글 수: 0
답변 (1개)
Walter Roberson
2011년 3월 24일
csvread() can be used to load data from csv files. You can then save() the data to a .mat file.
댓글 수: 4
Walter Roberson
2011년 3월 25일
After you have done the load(), ask to output fieldnames(d) as perhaps the data is not stored in a field named 'data'.
참고 항목
카테고리
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!