Importing a two variable function into pdepe

4 次查看(过去 30 天)
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.

回答(1 个)

Anmol Dhiman
Anmol Dhiman 2020-7-8
Hi Matthew,
You can use interp2 for 2 variables.
Regards,
Anmol Dhiman

类别

Help CenterFile Exchange 中查找有关 Partial Differential Equation Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by