Community Profile

photo

Lukgaf


University of Kwazulu Nata, South Africa

Active since 2018

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

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

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

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

6 years ago | 1 answer | 0

1

answer