How to create a plot for wave ordinary differential equation using symbolic toolbox of Matlab?
2 views (last 30 days)
Show older comments
0 Comments
Answers (1)
Bjorn Gustavsson
on 18 Jun 2019
That is quite the general wave-function you have there...
...if my memmory serves me this equation have the solutions:
u1 = f(x-c*t);
u2 = g(x+c*t);
So create some-such functions and plot them with any of matlab's plotting tools. I'd skip the symbolic tools and go straight for functions such as: surf, mesh, pcolor, there are also functions like stackplot, multiwaveplot and others to be found no the file exchange.
HTH
0 Comments
See Also
Categories
Find more on Calculus 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!