What function does the following code perform?

2 Ansichten (letzte 30 Tage)
Ishaan
Ishaan am 11 Mär. 2014
Beantwortet: Niklas Nylén am 11 Mär. 2014
tol=[1.d-8,1.d-8];

Antworten (1)

Niklas Nylén
Niklas Nylén am 11 Mär. 2014
The d can apparently be used instead of e for exponent number formats, i.e. the following are equal:
1d-8
1e-8
10^-8
The dot after the ones are just decimal points which are not followed by any decimals.
So, the answer to your question is that the code creates the matrix
tol = [0.00000001 0.00000001]

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by