- #1

- 5

- 0

## Main Question or Discussion Point

Hello, I'm having a really hard time doing some work in Matlab, I have a book but it just isnt making sense to me, the problem I have to do is in four parts so Ill just show the first part for now...

The following coordinates specify the

shape of a certain cars’ front fender. Interpolate and plot lines connecting these points

using linear, spline and cubic options.

x (ft) 0 0.25 0.75 1.25 1.5 1.75 1.875 2 2.215 2.25

y (ft) 1.2 1.18 1.1 1.0 0.92 0.8 0.7 0.55 0.35 0

Now do I have to interpolate the coordinates first, or do I interpolate the data when I plot the lines?

The following coordinates specify the

shape of a certain cars’ front fender. Interpolate and plot lines connecting these points

using linear, spline and cubic options.

x (ft) 0 0.25 0.75 1.25 1.5 1.75 1.875 2 2.215 2.25

y (ft) 1.2 1.18 1.1 1.0 0.92 0.8 0.7 0.55 0.35 0

Now do I have to interpolate the coordinates first, or do I interpolate the data when I plot the lines?