May 29, 2012

Matlab Utility reading a file:

fid1 = fopen('trajectory_from_plane_comp.txt', 'r');
while ~feof(fid1)
    temp = textscan(fid1, '%s %d %f %f %f %f', 1, 'delimiter', ' ');
    data_1 = [data_1; temp{3} temp{4} temp{5} temp{6}];
end
fclose(fid1);

No comments:

Down with the Dictatorship!

    "Let them hate me, so that they fear me" - Caligula 41AD