Graph Plotting of Approximate(Numerical) and Exact solution

8 vues (au cours des 30 derniers jours)
MADUKA CHIKA
MADUKA CHIKA le 11 Fév 2023
Modifié(e) : Bhanu Prakash le 23 Fév 2023
Please I want to plot a Graph of exact solution and numerical solution.

Réponses (1)

Bhanu Prakash
Bhanu Prakash le 16 Fév 2023
Modifié(e) : Bhanu Prakash le 23 Fév 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.

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Produits


Version

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by