필터 지우기
필터 지우기

Discretize a topographic profile described by a degree-9 polynomial

조회 수: 2 (최근 30일)
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")

채택된 답변

Kirby Runyon
Kirby Runyon 2015년 8월 21일
Use feval to evaluate the function at the desired x locations.
discrete_polynomial_values=feval(fitted_polynomial,x_positions);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by