How to interpolate PDE solution to cartesian grid

I can plot a solution using pdeplot(p,e,t,'xydata',u) but I want to interpolate my answer to a cartesian grid so that I can do other stuff with it. How would I do this?

1 commentaire

KSSV
KSSV le 19 Oct 2016
Does you mean that results are in unstructured grid and you want them on structured grid?

Connectez-vous pour commenter.

Réponses (1)

Alan Weiss
Alan Weiss le 19 Oct 2016

0 votes

interpolateSolution interpolates your solution to any set of points that you like. Create a Cartesian grid using the meshgrid or ndgrid commands.
Alan Weiss
MATLAB mathematical toolbox documentation

Community Treasure Hunt

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

Start Hunting!

Translated by