Graph Plotting of Approximate(Numerical) and Exact solution
显示 更早的评论

Please I want to plot a Graph of exact solution and numerical solution.
回答(1 个)
Bhanu Prakash
2023-2-16
编辑:Bhanu Prakash
2023-2-23
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!