1 / 15

Fitting / Matrix / Excel

Fitting / Matrix / Excel. Training. Prof. Seewhy Lee Presents. 1. 다항식 Fitting 2. 이차함수 Fitting 3. 가우시안 Fitting 4. 과제. 1. Polynomial Curve Fitting. Curve-Fitting by M-th Order Polynomial. 2 . Quadric Fitting. Curve-Fitting by Quadric. Example. Mission.

delora
Download Presentation

Fitting / Matrix / Excel

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Fitting / Matrix / Excel Training Prof. Seewhy Lee Presents

  2. 1. 다항식 Fitting 2. 이차함수 Fitting 3. 가우시안 Fitting 4. 과제

  3. 1. Polynomial • Curve Fitting

  4. Curve-Fitting by M-th Order Polynomial

  5. 2. Quadric Fitting

  6. Curve-Fitting by Quadric

  7. Example • Mission Get the Best-Matching Quadric

  8. Curve-Fitting by Quadric

  9. Result

  10. 3. Fitting by Gaussian

  11. Curve Fitting by Gaussian ln(y)를 x의 2차함수로 Curve Fitting 위 두 식을 비교하면 다음 결과를 얻는다.

  12. Result

  13. 4. Homework

  14. 엎어진 컵 모양이 되도록 다섯 개 이상의 데이터를 생성하여 엑셀에 입력한다. 값을 정수로 고집하지 말고 예쁜 모양으로 조작하지도 말라. 실제 데이터처럼 보이도록 한다. • 엑셀에 B 행렬을 계산한다. 엑셀 함수 SUMSQ, SUMPRODUCT 적절히 활용한다. 중요한 Tip: 절대참조 하려면 F4 키 활용! • 엑셀에 C 행렬을 계산한다. • 엑셀의 MINVERSE 함수를 사용하여 B의 역행렬을 구한다. • 엑셀의 MMULT 함수를 사용하여 A=B-1C 행렬을 계산한다. • 행렬 A의 성분이 2차함수의 계수이다. 이로써 2차함수가 얻어졌다. • 위의 y 데이터 대신에 ln(y)를 사용하여 (행렬 C 대신) 행렬 K를 계산한다. B는 그대로. • 엑셀의 MMULT 함수를 사용하여 D=B-1K 행렬을 계산한다. • 얻어진 D 행렬 성분으로부터 가우스 함수를 얻는다. • 그래프에 생성된 데이터를 기호로, 2차함수와 가우스함수는 색이 다른 선으로 그린다. 학번_성명.xlsx e-Class에3/30까지 제출

More Related