푸리에 급수 전개 시각화
\begin{eqnarray}
f(x,y)=\sum_{m=1}^{M}\sum_{n=1}^{N}b_{mn}sin\frac{mπ}{L}x・sin\frac{nπ}{L}y
\end{eqnarray}









// (x,y)での高さを計算
float calcHeight(float x, float y, int N, int M)
{
float y = 0.0f, temp_y = 0.0f;
int i, j;
for (i = 1; i <= N; i++)
{
temp_y = sin((float)i*PI*0.5f)*cos((float)i*PI*0.1f*x)/(float)i;
for (j = 1; j <= M; j++)
{
y += tempy*sin((float)j*PI*0.5f)*cos((float)i*PI*0.1f*y)/(float)j;
}
}
y *= 4.0f/(PI*PI);
return y;
}
Reference
이 문제에 관하여(푸리에 급수 전개 시각화), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/popondeli/items/5180fd47472d8580e7bf텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)