Importing a two variable function into pdepe

Hi
I want to solve a diffustion pde
I understand how to do this if Q is a single variable function using interp1, but I don't understand how this is done for 2 variables.

Réponses (1)

Anmol Dhiman
Anmol Dhiman le 8 Juil 2020

0 votes

Hi Matthew,
You can use interp2 for 2 variables.
Regards,
Anmol Dhiman

Catégories

En savoir plus sur Partial Differential Equation Toolbox dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by