Filter löschen
Filter löschen

How to get a result more exact?

1 Ansicht (letzte 30 Tage)
Nadia Bica
Nadia Bica am 4 Jun. 2015
Kommentiert: Nadia Bica am 4 Jun. 2015
Hello I'm solving a problem with eigenvalue fuctions and FEM (finite element method).
I will writte it down the results i get to try explain myself better: for n elements
n=1 --> CriticalLoad=4.4049; n=2 --> CL=3.6823; n=4 --> 3.6788 and n=8 --> 1*10^3*(0.0037)
What i would like to know is how can i have a more exact result, I mean with more numbers specially in the last one...
I hope that you understand what i mean.
Thank you

Akzeptierte Antwort

Jan
Jan am 4 Jun. 2015
You did not explain, which code is used to obatin the results. The notation "1*10^3*(0.0037)" looks weird and I cannot guess how this was produced. So how can we suggest an improvement?
A bold guess is, that the results are as accuarate as possible already, but you use a short format to display the values in the command line. So try this:
format long g
and run the code again.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 4 Jun. 2015
Give the command
format long g

Kategorien

Mehr zu MATLAB 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