필터 지우기
필터 지우기

How to get a result more exact?

조회 수: 2 (최근 30일)
Nadia Bica
Nadia Bica 2015년 6월 4일
댓글: Nadia Bica 2015년 6월 4일
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

채택된 답변

Jan
Jan 2015년 6월 4일
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개)

Walter Roberson
Walter Roberson 2015년 6월 4일
Give the command
format long g

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by