Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

chebyshev differentiation matrices codes not callable

2 visualizaciones (últimos 30 días)
Lukgaf
Lukgaf el 19 de Mzo. de 2018
Cerrada: Walter Roberson el 19 de Mzo. de 2018
% 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 comentario
Walter Roberson
Walter Roberson el 19 de Mzo. de 2018
Duplicated by the later https://www.mathworks.com/matlabcentral/answers/389165-chebyshev-differential-matrices-code-not-callable which appears to be more complete

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by