Why I got error "Error using reshape" when I try to calculated du/dx and du/dy for my pde gradient?

I used:
[ux,uy] = pdegrad(p,t,u);
Then I got error "Error using reshape".
Please help and thank you,
Bella

Answers (0)

Asked:

on 8 Feb 2016

Community Treasure Hunt

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

Start Hunting!