How do you manipulate large amounts of data from a separate file?

2 views (last 30 days)
I am 100% new to MATLAB and have never used it before. I have four files with 10 columns of ~300 data points in each. I need to convert the units of each data point and then plot two of the columns together. How would I go about doing this?
  1 Comment
dpb
dpb on 2 Dec 2015
Start by getting familiar w/ Matlab at the "Getting Started" section of the documentation. Read thru the examples of importdata and file operations, the basics of array manipulation and plotting/graphics. Such operations are shown in examples within the first few pages of each topic...
In Matlab, basically you trade code conciseness and array operations for memory. The general idea would likely be to read all the files into memory and operate on them--that is a very small total amount of memory by today's standards:
4*300*10 datapoints * 8 bytes/point --> 96000 bytes < 100 kB

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!