Graph Plotting of Approximate(Numerical) and Exact solution
10 views (last 30 days)
Show older comments
Please I want to plot a Graph of exact solution and numerical solution.
Answers (1)
Bhanu Prakash
on 16 Feb 2023
Edited: Bhanu Prakash
on 23 Feb 2023
Hi Maduka,
As per my understanding, you are trying to plot a graph of exact solution and numerical solution.
For plotting them, you can use the “plot” function in MATLAB. If you want to plot the two solutions separately and group them together into a single figure, you can use the “subplot” function.
You can access the documentation of “plot” and “subplot” here
Hope this answer helps you.
Thanks,
Bhanu Prakash.
0 Comments
See Also
Categories
Find more on Line Plots 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!