# Help with NDSolveFiniteDifferenceDerivative function

Posted 20 days ago
171 Views
|
0 Replies
|
0 Total Likes
|
 Hello, please I need your help to understand two commands, I'm trying to understand the method of line to solve heat equation using line method, this is the beginning of the my code: np = 5; ugrid = 1/np Range[0, np] fd1 = NDSolveFiniteDifferenceDerivative[Derivative[1], ugrid]; m1 = fd1["DifferentiationMatrix"]; If I'm not wrong " fd1 " is the approximation of the first derivative in each point of the grid, my problem is in "m1" what is this command? What does "DifferentiationMatrix" present?