N Niles_M Oct 2008 49 0 May 17, 2010 #1 Hi guys I am loading in a file using Code: load data.dat which contains the numbers 1.123, 2.1234, 3.123456. Now, how many decimals are stored in the variable data(i,1) where i is {1,3}? And can I vary this amount (I want the maximum amount). Best, Niles.

Hi guys I am loading in a file using Code: load data.dat which contains the numbers 1.123, 2.1234, 3.123456. Now, how many decimals are stored in the variable data(i,1) where i is {1,3}? And can I vary this amount (I want the maximum amount). Best, Niles.

C CaptainBlack MHF Hall of Fame Nov 2005 14,972 5,271 someplace May 17, 2010 #2 Niles_M said: Hi guys I am loading in a file using Code: load data.dat which contains the numbers 1.123, 2.1234, 3.123456. Now, how many decimals are stored in the variable data(i,1) where i is {1,3}? And can I vary this amount (I want the maximum amount). Best, Niles. Click to expand... What do you get when you type data at the command prompt? (you should have an array of doubles so they should have as many figures as in the file) CB

Niles_M said: Hi guys I am loading in a file using Code: load data.dat which contains the numbers 1.123, 2.1234, 3.123456. Now, how many decimals are stored in the variable data(i,1) where i is {1,3}? And can I vary this amount (I want the maximum amount). Best, Niles. Click to expand... What do you get when you type data at the command prompt? (you should have an array of doubles so they should have as many figures as in the file) CB

N Niles_M Oct 2008 49 0 May 20, 2010 #3 I just used Code: format long to be on the safe side. Thanks.