Graph showing what changing delta X does in the one dimentional heat equation using the finite difference method

4 views (last 30 days)
I'm trying to make a two dimensional graph showing what change in delta x does in terms of a one dimensional heat equation using the finite difference method.
My intent is to show that the smaller the delta x is, the more accurate the results will be and the closer they are to the truth. I however, do not know how to go about coding a two dimensional graph showing this property.
  1 Comment
William Rose
William Rose on 5 Mar 2023
Edited: William Rose on 5 Mar 2023
[edit: fix typo]
You wrote "I however, do not know how to go about coding a two dimensional graph showing this property."
What do you mean by "this property"? Please share your code that solves the 1D heat equation, with a value - any value - for delta x. Then one can discuss changing delta x. Thank you.

Sign in to comment.

Answers (0)

Categories

Find more on Thermal Analysis in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!