Regression v. interpolation

조회 수: 15 (최근 30일)
Chris Jeong
Chris Jeong 2017년 12월 13일
답변: kaitlyne diaz 2018년 4월 24일
Fit a line using linear regression to the following data set. Then linearly interpolate.
x = [ 0.13653 0.14551 0.28696 0.47473 0.48740 0.75441 0.88754 0.91808 0.94291 0.97388 ];
y = [ 0.29250 0.79586 0.78081 0.12643 0.14409 0.50125 0.40181 0.83697 0.34130 0.27120 ];
Evaluate both at point x = 0.5. Store the absolute value of difference of these two in a variable `lin_diff`.

답변 (1개)

kaitlyne diaz
kaitlyne diaz 2018년 4월 24일
x =1

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by