how do find the correct boundary conditions when (initial condition) uo = atan(x) and the PDE equation is c(∂u∂x) + ∂u∂t = 0 ?
graphing my first PDE
6 views (last 30 days)
Hello! I am new to Matlab and trying to graph my first PDE. I have no idea how it works, can any one help me with how to write the script for the following PDE
c(∂u∂x) + ∂u∂t = 0 with initial condition u(x, 0) = arctan(x). Plot the solution to this PDE for a few different values of c (small, large, positive, negative)
More Answers (1)
David Sanchez on 19 Sep 2014
take a look at the documentation.
will present a very good example. This same example is explained in more detail in the following link:
You can easily adapt that example to solve your problem