Then can you please "Accept this answer" to give Alan reputation points to thank him for helping you. You can also click the Vote icons to vote for answers and award them additional reputation points.
Like it says, x must be a double, not a sym. f is a sym since x was (I'm guessing since I don't have the Symbolic Toolbox.) So just don't define a at all, and don't put polyfit() into sym() either.
X is the parameter of the f function, and im using the f(x) function to get the values for the polyfit. Im trying to do the Lagrange polynome interpolator.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
0 Comments
Sign in to comment.