Effacer les filtres
Effacer les filtres

How to get a result more exact?

2 vues (au cours des 30 derniers jours)
Nadia Bica
Nadia Bica le 4 Juin 2015
Commenté : Nadia Bica le 4 Juin 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

Réponse acceptée

Jan
Jan le 4 Juin 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.
  1 commentaire
Nadia Bica
Nadia Bica le 4 Juin 2015
thank you

Connectez-vous pour commenter.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 4 Juin 2015
Give the command
format long g
  1 commentaire
Nadia Bica
Nadia Bica le 4 Juin 2015
thank you

Connectez-vous pour commenter.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by