Hello,
when I am importing a .txt-file with one column and about 1 Mio. rows, I am always "losing" some content.
To be a bit more precise: each row contains a figure equal or higher to 0. The sum of the rows' content in my txt-file is 3.598.591 (= total number of trips; I know this figure...
Hi!
No, I haven't. But thinking about it, I realised I might have explained my problem incorrectly.
My matrix looks actually like this:
531 531 1.00
531 532 5.000
531 533 17.000
531 534 2.000
while the txt file looks like this:
531
531
531
531
531
532
533
534
1.000
5.000
17.000
2.000...
It seems as soon as one question is answered another one arises...
I am having a matrix with three columns (and lots of rows) and would like to create a text file in a special format.
Using fprintf has solved my formatting problem and it is now like I want it. But... in my txt file the colums...
Thanks for your quick replies!
Unfortunately I am new to Matlab and don't understand the fprintf command very well... I used fprintf ('%7.4f\n', filename) which rewrote my vector in the format I am looking for, but it seems like I didn't save it at the same time. Can I use fprintf to set the...
Hello,
I am trying to export (save, write, ...?) a vector from Matlab, so I can open it in an editor (PFE). (I am using Matlab to manipulate data). Saving the file works fine but when I open the file in an editor the figures are shown as 9.9999900e+005 instead of 999999.
Is there any command...