MATLAB: Handle Large GPS Data Sets Easily

  • Context: MATLAB 
  • Thread starter Thread starter beyondlight
  • Start date Start date
  • Tags Tags
    Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 1K views
beyondlight
Messages
64
Reaction score
0
I have to analyze a large set of GPS measurement data in MATLAB but when i transfer the list of data in the editor like:

8374847.323
8374827.545
8374863.565
8374831.775
8374889.923
8374872.112
...

How do I put it in a array

A= [value1 value2 value3 ...valueN]?
 
Physics news on Phys.org
mfb said:
Did you check http://de.mathworks.com/help/matlab/matlab_prog/create-numeric-arrays.html?

No, niether dos it look very helpful

I tried A=dataset('File','filename') but it didn't work.
 
The example B = [12, 62, 93, -8, 22; 16, 2, 87, 43, 91; -4, 17, -72, 95, 6] should work.
I don't know the source data format. You can also try to directly copy it into an existing array in the array view.
 
If you have an editor that let's you append a space and three dots ' ...' at the end of every line of data, that is how you can separate the data and continue the MATLAB statement to the next line. So you want something like:

A = [ ...
8374847.323 ...
8374827.545 ...
8374863.565 ...
.
.
.
8374872.112 ...
];