Recent content by imost
-
I
MATLAB Easy: importing a batch of data into MATLAB
I figured out a way to do this. It's very inelegant, but it definitely suffices: for i=1:50 (just 50, say) if i<10 x=['data00',num2str(i)]; else x=['data0',num2str(i)]; end %if data(:,2*i-1:2*i) = importdata(x); !this stores all the data in a matrix, 2 columns of data at a time end...- imost
- Post #6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
I
MATLAB Easy: importing a batch of data into MATLAB
I'm not sure how I would go about writing a script in C++... Thanks, MATLABdude, I'll try to get the dlmread function to work for my particular scenario and report back.- imost
- Post #5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
I
MATLAB Easy: importing a batch of data into MATLAB
I've been going crazy trying to figure this out- I'm not seeing it in the documentation. I have a few hundred files named "data*" where * goes from 000 to 300. The file type is really just a text file without any real type- they aren't .txt. Is there a way to 'batch' import all of them without...- imost
- Thread
- Batch Data Matlab
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX