Alternative command to interpolateSolution on manipulated results item

Hello,
I'm trying to use the command interpolateSolution onto a matrix calculated by the results of a PDE analysis.
The correct workflow uses 'results' in the interpolateSolution command, where results = pdesolve(model, time). In my case, I have manipulated the solution matrix with some calculations and thus I cannot use the new matrix as interpolateSolution entry.
Is there an alternative command to do the same action?
In particular, I need to interpolate my results over a structured meshgrid and reduce the node number.
Thank you in advance, bests

 採用された回答

Svetlana Pease
Svetlana Pease 2017 年 9 月 26 日

0 投票

You can try using the createPDEResults function.
Regards,
Svetlana Pease
Technical writer, MathWorks documentation group

その他の回答 (1 件)

MG
MG 2017 年 9 月 27 日

0 投票

Hello Svetlana,
thank you for the kind reply.
Unfortunately, this function doesn't work in my case because I have transformed my 2D results matrix in a 3D matrix multiplying results by a vector. Also squeezing the 3D matrix I am not able to use the createPDEresults function.
Probably the better is to repeat the calculation eliminating the vector giving the third matrix dimension.
Thank you.

質問済み:

MG
2017 年 9 月 26 日

回答済み:

MG
2017 年 9 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by