How to do a polynomial fit to a dataset with an excluded term

How do I obtain a high-order polynomial fit to some data, but with a term excluded? For example:

y ~ C0 + C1*x + C2*x^2 + C4*x^4 % Note the 3rd-order term is missingHow do I obtain a high-order polynomial fit to some data, but with a term excluded? For example:

y ~ C0 + C1*x + C2*x^2 + C4*x^4 % Note the 3rd-order term is missing How do I obtain a high-order polynomial fit to some data, but with a term excluded? For example:

y ~ C0 + C1*x + C2*x^2 + C4*x^4 % Note the 3rd-order term is missing high-order, polynomial, fit, "term, excluded", "terms, matrix", fitoptions, fittype, fitlm MATLAB Answers — New Questions

​

Leave a Reply

Your email address will not be published. Required fields are marked *