Community Profile

photo

Brandon


Last seen: 1 year ago Active since 2022

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


"Index exceeds the number of array elements (2)." error that always gives the index size observed as one less than the vector i am entering
function p = cubicSplineCoefficients(x,y) x = [1 2 3]; y = [5 6 7]; pp = spline(x,y) n = length(x); d = diff(x); A = 2*dia...

1 year ago | 1 answer | 0

1

answer