How can i find the error in the interpolant

1 view (last 30 days)
Wenchen Liu
Wenchen Liu on 1 Nov 2022
Answered: Matt J on 1 Nov 2022
This is what have done so far:
and the graph of this code shows like this:
I want to find the error between this two functions in another plot. Thank you!

Answers (1)

Matt J
Matt J on 1 Nov 2022
fplot(@(x) cosh(x)-p(x))

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!