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
2023 年 5 月 2 日
移動済み: the cyclist
2023 年 5 月 2 日
1 投票
The name of the interpolation function is "interp1", not "interpl".
1 件のコメント
Roos
2023 年 5 月 2 日
移動済み: the cyclist
2023 年 5 月 2 日
カテゴリ
ヘルプ センター および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!