Is there a way to export the results of PDE's solution to the gradient?Or the gradient can be calculated from the exported triangular node result?

2 views (last 30 days)

Accepted Answer

Bjorn Gustavsson
Bjorn Gustavsson on 16 Nov 2022
You should have access to the pdegrad-function that should handle your case. Or if that doesn't suit your particular need some of the FEX submissions might: trigradient2, trigradient-m or trigradient-m (they are different), or at least offer you something to start modifying to suit your needs.
HTH
  2 Comments
Cino
Cino on 16 Nov 2022
Thanks for your guidance, I found some descriptions of the functions you mentioned,and it really works.
https://ww2.mathworks.cn/help/pde/ug/pdegrad.html
Bjorn Gustavsson
Bjorn Gustavsson on 16 Nov 2022
Happy that it helped.
You can expect that at least some 80 % of your problems already have a matlab solution or at least an 80%-partial-solution. Most of the time you should be able to find it browsing the help and doc for the functions or toolboxes, if you cannot find the solution there there is very often something on the file exchange.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!