Home > Blockchain >  How read the exact number of decimal digits with readtable from a .csv file?
How read the exact number of decimal digits with readtable from a .csv file?

Time:02-08

I want to read a .csv file containing numbers with many digits by using the function readtable. Then I need to filter some rows and export the table to a .txt file. I manage to perform this task but the exported file contains numbers with less digits with respect to numbers stored into orginal .csv file.

How can I keep the same number of decimal digits as in the original file?

Here an example code: "NEOs_asteroids.csv" attached to this question:

clear all; close all; clc;

           
  •  Tags:  
  • Related