2 dimensional plot problem
Ältere Kommentare anzeigen
Hi,
I have written a program for a Crank-Nicolson scheme using MATLAB. I have solutions for u(x,t) at x=0:0.1:1.0, at t intervals of 0, 0.005, 0.001, 0.015 and 0.02.
We have the exact solution available, and are required to plot the difference between the exact and calculated values of u(x,t) with respect to x and t.
I am not sure how to do this, any help would be much appreciated.
Antworten (1)
the cyclist
am 27 Apr. 2013
0 Stimmen
My recommendation would be to go to the Plot Gallery: http://www.mathworks.com/discovery/gallery.html.
There you will find example of plots, along with the code that generates them. I expect you will be able to adapt one of them to your needs.
1 Kommentar
XJ
am 28 Apr. 2013
Kategorien
Mehr zu Financial Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!