Trigonometric Interpolation for even functions.

조회 수: 3 (최근 30일)
ANDREI STEFAN
ANDREI STEFAN 2020년 6월 5일
댓글: ANDREI STEFAN 2020년 6월 5일
Hello, so I have this problem that I don't really even know how to start it, I would really apreciate if I would got some help, I don't really know how to put it into matlab context. Here is the text:
"Trigonometric interpolation for even functions. The function given by the table below is considered, a function assumed to be even and periodic for 2pi. Calculate the value of the polynomial T4f at the point a = 2 / pi relative to the nodes in the table."
Here is the table :

답변 (1개)

KSSV
KSSV 2020년 6월 5일
It is really a simple one. Read about interp1.
Say I have given (x,y=f(x)). I want to calculate value of y i.e f(x) at give x = xi; we use
yi = interp1(x,y,xi) ;
So you are provided with all the values.
  댓글 수: 3
KSSV
KSSV 2020년 6월 5일
You got x, what function you need? Sin or cos??
ANDREI STEFAN
ANDREI STEFAN 2020년 6월 5일
Well, i would have assumes that y is equal with f(x) from the table?

댓글을 달려면 로그인하십시오.

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by