Graph Plotting of Approximate(Numerical) and Exact solution

Answers (1)

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.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products

Release

R2014b

Asked:

on 11 Feb 2023

Edited:

on 23 Feb 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!