필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

chebyshev differentiation matrices codes not callable

조회 수: 2 (최근 30일)
Lukgaf
Lukgaf 2018년 3월 19일
마감: Walter Roberson 2018년 3월 19일
% check the base case
if N == 0; D = 0; x = 1; return; end
% create the Chebyshev grid
x = cos(pi*(0:N)/N)';
c = [2; ones(N-1,1);2].*(-1).^(0:N)';
X = repmat(x,1,N+1);
dX = X-X';
D = (c*(1./c)')./(dX+(eye(N+1)));
D = D - diag(sum(D'));
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 3월 19일
Duplicated by the later https://www.mathworks.com/matlabcentral/answers/389165-chebyshev-differential-matrices-code-not-callable which appears to be more complete

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by