Error in line 53 when using linear interpolation

I have been asked to solve this question but cannot go further as MATLAB is giving me an error.
Body temperature
During one minute the body temperature of a subject performing a physical task was measured every 10 seconds. The results are listed in the table.
P 3.2
Assign the time values to a row matrix t and the measured temperatures to row matrix T.
  • Determine the body temperature at t =15s using linear interpolation.
  • Repeat the procedure, now using a third-degree polynomial for theinterpolation.
I am confused because the answer key is saying to use this method.
Please help if you can!

답변 (1개)

Torsten
Torsten 2023년 5월 2일
이동: the cyclist 2023년 5월 2일

1 개 추천

The name of the interpolation function is "interp1", not "interpl".

댓글 수: 1

Roos
Roos 2023년 5월 2일
이동: the cyclist 2023년 5월 2일
Oh wow thank you, the textbook's "1" looks awfully a lot like an "l" haha. Thank you so much

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

제품

릴리스

R2023a

질문:

2023년 5월 2일

이동:

2023년 5월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by