graphing my first PDE
1 view (last 30 days)
Show older comments
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)
Thanks :)
0 Comments
Accepted Answer
More Answers (1)
David Sanchez
on 19 Sep 2014
take a look at the documentation.
doc pdepe
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
See Also
Categories
Find more on PDE Solvers 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!