Hi guys

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.

2. Originally Posted by Niles_M
Hi guys

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.
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

3. I just used

Code:
format long
to be on the safe side. Thanks.