Round-off Error vs. Truncation Error

2022. 9. 22. 14:19·Computer/ETC
728x90
728x90

https://slideplayer.com/slide/4942127/

Round-off Error: 

  • 컴퓨터에서 수치를 저장하는 데이터 타입의 한계로 인한 에러.
  • 제한된 비트에 수치를 저장하기 때문에 발생하며 Finite word-length effect, Finite word-length error라고도 불림.
  • 주로 quantization에서 발생.
더보기

Finite precision characteristic (유한정세도특성)

  • 계수양자화특성 : Transfer function (←difference equation)을 구현할 때 사용되는 반도체 소자의 bit수 에 따라, coefficient의 양자화 특성이 결정됨 → 높은 bit의 반도체 소자일수록 양자화 에러가 적음.
  • 라운딩 특성 : 또한 coefficient와 input signal이 곱해지는 과정에서 round-off error가 발생함. (곱해진 결과가 요구하는 bit의 크기가 증가하므로 LSB (Least Significant Bit)들이 버려지게 되는 rounding (rounding 대신 chopping off로 처리하기도 하지만 일반적으로 rounding임)이 발생.

Example: x = 0.883

  • 4 비트 : 0111=0.5+0.25+0.125=0.875
  • 8 비트 : 01110001=0.5+0.25+0.125+0.0078125=0.8828125
  • Quantization error (=round-off error)를 피할 수 없다.

Truncation Error: 

  • 테일러 급수 등으로 원래의 수식을 수학적으로 approximation(근사)하여 풀 때, 해당 approximation으로 인해 발생하는 오차.
  • 이상적으로 무한한 항으로 근사하면 같겠지만... 실제로는 불가능하므로 역시 피할 수 없는 오차임.

2023.02.27 - [.../Math] - [Math] Taylor Expansion and Taylor Theorem (테일러 전개)

 

[Math] Taylor Expansion and Taylor Theorem (테일러 전개)

Taylor Expansion어떤 function $f(x)$을 : 주로 Trascedent Function 임어떤 point $a$에서의 값과 derivative들을 이용하여polynomial(다항식) $p(x)$으로 approximation(근사)하는데 사용되는 것이바로 Taylor's Expansion이라고

dsaint31.tistory.com

 


같이 보면 좋은 자료들: 

https://slideplayer.com/slide/4942127/

 

Round-Off and Truncation Errors - ppt video online download

Numerical Accuracy Truncation error : Method dependent Errors which result from using an approximation rather than an exact procedure Round-off error : Machine dependent Errors which result from not being able to adequately represent the true value Result

slideplayer.com

2025.06.22 - [Programming/DIP] - Digitization

 

Digitization

Digitization is the process of converting analog information into digital form throughsampling,quantization, andencoding (생략되기도 함) Digitization makes signals suitable for processing, storage, and transmission in digital systems. 더보기다음

dsaint31.tistory.com


 

728x90

'Computer > ETC' 카테고리의 다른 글

GIT : 기본 Editor 설정.  (0) 2023.03.20
[Etc] Chrome Remote Desktop으로 원격지원 받기.  (0) 2022.12.28
Boltzmann’s Factor (or Boltzmann’s Distribution)  (0) 2022.06.09
[ML] Newton-Raphson Method  (3) 2022.06.07
[ML] From softmax to logistic function.  (0) 2022.06.06
'Computer/ETC' 카테고리의 다른 글
  • GIT : 기본 Editor 설정.
  • [Etc] Chrome Remote Desktop으로 원격지원 받기.
  • Boltzmann’s Factor (or Boltzmann’s Distribution)
  • [ML] Newton-Raphson Method
dsaint31x
dsaint31x
    반응형
    250x250
  • dsaint31x
    Dsaint31's blog
    dsaint31x
  • 전체
    오늘
    어제
    • 분류 전체보기 (787)
      • Private Life (15)
      • Programming (206)
        • DIP (116)
        • ML (35)
      • Computer (120)
        • CE (54)
        • ETC (33)
        • CUDA (3)
        • Blog, Markdown, Latex (4)
        • Linux (9)
      • ... (368)
        • Signals and Systems (115)
        • Math (176)
        • Linear Algebra (33)
        • Physics (43)
        • 인성세미나 (1)
      • 정리필요. (61)
        • 의료기기의 이해 (6)
        • PET, MRI and so on. (7)
        • PET Study 2009 (1)
        • 방사선 장해방호 (5)
        • 방사선 생물학 (3)
        • 방사선 계측 (9)
        • 기타 방사능관련 (3)
        • 고시 (9)
        • 정리 (18)
      • RI (0)
      • 원자력,방사능 관련법 (2)
  • 블로그 메뉴

    • Math
    • Programming
    • SS
    • DIP
  • 링크

    • Convex Optimization For All
  • 공지사항

    • Test
    • PET Study 2009
    • 기타 방사능관련.
  • 인기 글

  • 태그

    인허가제도
    Python
    fourier transform
    SS
    Probability
    function
    Vector
    ML
    signals_and_systems
    numpy
    linear algebra
    signal_and_system
    cv2
    Optimization
    Term
    random
    opencv
    math
    SIGNAL
    Programming
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
dsaint31x
Round-off Error vs. Truncation Error
상단으로

티스토리툴바