Community Profile

photo

Lukgaf


University of Kwazulu Nata, South Africa

3 total contributions since 2018

Contact

Lukgaf's Badges

  • Thankful Level 1

View details...

Contributions in
View by

Question


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...

1 year ago | 1 answer | 0

1

answer

Question


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)'; ...

1 year ago | 0 answers | 0

0

answers

Question


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] = ...

1 year ago | 1 answer | 0

1

answer