Defining a polinomial function
1 view (last 30 days)
Show older comments
Hey guys, I need to define a curve that is composed of 3 curves: 1st curve is on the left 2nd is straight and 3rd is on the right. They will be all polinomial curves. The first curve will be: w1(x) = C4 * x^4 + C3 * x^3 + C2 * x^2 + C1 * x + C0 The third curve (w2(x)) will be similar to the first one changing only the restrictions used to calculate the coefficients.
Now the problem is, I have 2 restrictions that involve both w1 and w2. as can be seen in the attach file.
my question is how do I code this in order to make matlab calculate the coefficients?
0 Comments
Answers (0)
See Also
Categories
Find more on Curve Fitting Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!