Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

MATLAB How to create semi-infinite solid in MATLAB?

  1. Mar 9, 2012 #1
    Hello,
    Am working on a model that involves heat conduction in a semi-infinite solid. I have been using linspace() command for finite geometry, but now i need to create a 1-dimensional semi-infinite solid. Any suggestions?
    Thank you.
     
  2. jcsd
  3. Mar 19, 2012 #2
    In numerical simulations, we can refer to infinity as something very far from the disturbance. In your case, if the heat conduction only takes place e.g from 0 to 1, you can set a linespace from 0 to 10 or 20, and it will effectively work as theoretical infinity would.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook