I have a TXT-file containing the following two lines of text:
1 2:3:4 5
5 7:8:9 0
When I use the LOAD function as follows:
load textfile
I receive:
1 2 3 4 5 5
However if I declare a matrix to contain the same data as in the TXT-file using the following commands:
a = [1 2:3:4 5 ; 5 7:8:9 0]
MATLAB returns the following answer:
a = 1 2 5 5 7 0
Best Answer