Filter löschen
Filter löschen

Discretize a topographic profile described by a degree-9 polynomial

2 Ansichten (letzte 30 Tage)
I have a 2D topographic profile of sand dunes (height vs. distance) described (in a simplified way) as a polynomial. I need to discretize it into 37 chunks. How do I do that? (I got the polynomial by using "fit" and "coefvalues")

Akzeptierte Antwort

Kirby Runyon
Kirby Runyon am 21 Aug. 2015
Use feval to evaluate the function at the desired x locations.
discrete_polynomial_values=feval(fitted_polynomial,x_positions);

Weitere Antworten (0)

Kategorien

Mehr zu Polynomials finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by