user1792403
user1792403

Reputation: 187

Storing small numbers in matrices

My matrix only stores the first 4 d.p of my values. If all values within the matrix are small, then we might get to see more d.p. because it will say that all elements are for example multiplied by 1.0e-03. But this isn't really good enough, as sometimes my matrix should be comprised of very small as well as larger numbers.

Basically I am often getting an output of 0.0000 instead of what i suspect may be something more like 0.00000001. Is there a way to change this, for example matrix tolerances?

Many thanks for any help

Upvotes: 1

Views: 363

Answers (1)

Gunther Struyf
Gunther Struyf

Reputation: 11168

Try executing

format longg

and reinspect your matrix. This changes the display output format.

Upvotes: 3

Related Questions