Question Details

No question body available.

Tags

matlab numerical-methods ode runge-kutta

Answers (1)

January 23, 2026 Score: 0 Rep: 854 Quality: Low Completeness: 70%

by fixing the following line

D= U\\ ( L\\(-F(grid,Y0,A,beta,f,h,d)) );

to

D= U\ ( L\(-F(grid,Y0,A,beta,f,h,d)) );

your code generates the following solution

enter image description here

enter image description here

Of course the following warning is all over the place

Warning: Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN.

But is this solution acceptable?