Importing a two variable function into pdepe

4 visualizaciones (últimos 30 días)
Matthew Hunt
Matthew Hunt el 20 de Mayo de 2020
Respondida: Anmol Dhiman el 8 de Jul. de 2020
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.

Respuestas (1)

Anmol Dhiman
Anmol Dhiman el 8 de Jul. de 2020
Hi Matthew,
You can use interp2 for 2 variables.
Regards,
Anmol Dhiman

Categorías

Más información sobre Partial Differential Equation Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by