Feeds
질문
Where have I made mistakes in this code
%prob2.m % u’’- 4u’ + 4u = exp(x)+ C; % Subject to u(1) = 0; u(-1) = 0; C=(-4*exp)/(1+(exp)^2); N = 40; [D, x]=che...
6년 초과 전 | 답변 수: 1 | 0
1
답변질문
chebyshev differentiation matrices codes not callable
% check the base case if N == 0; D = 0; x = 1; return; end % create the Chebyshev grid x = cos(pi*(0:N)/N)'; ...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
Chebyshev differential matrices code not callable
This is the code by tretfen (cheb.m): % CHEB compute D = differentiation matrix, x = Chebyshev grid function [D,x] = ...
6년 초과 전 | 답변 수: 1 | 0