What is the “pdentrp” function in the “pdepe” function?

6 ビュー (過去 30 日間)
Lanfeng Hua
Lanfeng Hua 2020 年 1 月 11 日
コメント済み: feynman feynman 2024 年 2 月 13 日
I want to know the specific function and code of the “pdentrp ” function. I searched for “help” and some network resources, but there was no gain. Can anyone help me?
V3SH{}I]]V9QY86R9GKK6KH.png

回答 (1 件)

Josh Meyer
Josh Meyer 2020 年 1 月 30 日
This is an internal, private helper function, so it does not have documentation beyond help text. You can access the file with the command
edit /MATLAB/toolbox/matlab/funfun/private/pdentrp.m
The help text for this function is:
%PDENTRP Interpolation helper function for PDEPE.
% [U,UX] = PDENTRP(M,XL,UL,XR,UR,XOUT) uses solution values UL at XL and UR at XR
% for successive mesh points XL < XR to interpolate the solution values U and
% the partial derivative with respect to x, UX, at arguments XOUT(i) with
% XL <= XOUT(i) <= XR. UL and UR are column vectors. Column i of the output
% arrays U, UX correspond to XOUT(i).
%
% See also PDEPE, PDEVAL, PDEODES.
  1 件のコメント
feynman feynman
feynman feynman 2024 年 2 月 13 日
what's the finite difference scheme for the interpolation of UX?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEigenvalue Problems についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by