글
end 부분에 들어가는 것은 1 base Index이다 .. (2.6.4현재 수정 안됨)
관련 Link
end 부분에 들어가는 것은 1 base Index이다 .. (2.6.4현재 수정 안됨)
관련 Link
vpa 함수 사용
Variable-precision arithmetic
이하는 도움말 긁붙
vpa
Variable-precision arithmetic
Syntax
R = vpa(A)
R = vpa(A,d)
Description
R = vpa(A) usesvariable-precision arithmetic (VPA) to compute each element of A toat least d decimal digits of accuracy, where d isthe current setting of digits.
R = vpa(A,d) usesat least d significant (nonzero) digits, insteadof the current setting of digits.
Input Arguments
A
Symbolic object, string, or numeric expression.
d
Integer greater than 1 and smaller than .
Output Arguments
R
Symbolic object representing a floating-point number
Suppose you convert a number to a symbolic object, and thenperform VPA operations on that object. The results can depend on theconversion technique that you used to convert a floating-point numberto a symbolic object. The sym function lets youchoose the conversion technique by specifying the optional secondargument, which can be 'r', 'f','d' or 'e'. The default is 'r'.For example, convert the constant π=3.141592653589793... toa symbolic object:
r = sym(pi)
f = sym(pi, 'f')
d = sym(pi, 'd')
e = sym(pi, 'e')
r =
pi
f =
884279719003555/281474976710656
d =
3.1415926535897931159979634685442
e =
pi - (198*eps)/359
Compute these numbers with the 4 digits VPA precision. Threeof the four numeric approximations give the same result:
vpa(r, 4)
vpa(f, 4)
vpa(d, 4)
vpa(e, 4)
ans =
3.142
ans =
3.142
ans =
3.142
ans =
3.142 - 0.5515*eps
Now, increase the VPA precision to 40 digits. The numeric approximationof 1/10 depends on the technique that you used to convert 1/10 tothe symbolic object:
vpa(r, 40)
vpa(f, 40)
vpa(d, 40)
vpa(e, 40)
ans =
3.141592653589793238462643383279502884197
ans =
3.141592653589793115997963468544185161591
ans =
3.1415926535897931159979634685442
ans =
3.141592653589793238462643383279502884197 -...
0.5515320334261838440111420612813370473538*eps
xdocdiff 를 사용한다.
아래 링크에 프로그램과 Tortoise SVN에서 셋팅하는 법이 자세히 나와있다.
안드로이드 킷캣(kitkat)에서 es파일탐색기 ftp서버 실행하기 (0) | 2014.05.31 |
---|---|
Foxit Reader & Swing Browser (Chrome Base Explorer) (0) | 2014.01.14 |
Window7 원격제어 포트&방화벽 자동 셋팅 (0) | 2013.07.18 |
집에 설치된 IPTIME으로 기숙사에서 LOL하기 (0) | 2013.04.13 |
SVN 코멘트 수정이 안되는 경우 (0) | 2012.10.29 |
RECENT COMMENT