QUADSHOW

バージョン 1.0.0.0 (2.66 KB) 作成者: Steven Lord
Display the points used to integrate a function using QUAD
ダウンロード: 975
更新 2007/5/29

ライセンスの表示

DESCRIPTION:

QUADSHOW allows users to see the sequence of points at which QUAD evaluates their function during the course of numeric integration.

RATIONALE:

In the past, some users of QUAD have expressed confusion when they specified very large limits when trying to integrate functions that are nonzero over small intervals, and receive results that do not agree with other answers they have computed via other methods. With QUADSHOW, they can see where QUAD is evaluating their function, and can try to adjust their limits of integration appropriately.

QUAD expects the function the user wants to integrate to return an output vector the same size as the input vector. QUADSHOW detects when this is not the case and informs the user of this error.

The calling syntax for QUADSHOW is the same as the calling syntax for QUAD; this is deliberate, as it allows users to easily use QUADSHOW as a troubleshooting tool.

SUPPORTED VERSIONS:

This function uses nested functions, which were introduced in MATLAB 7.0 (R14), so it will not run in versions of MATLAB prior to 7.0. I have tested it in both MATLAB 7.0 (R14) and MATLAB 7.4 (R2007a) on Windows.

AREAS FOR ENHANCEMENT:

One possible avenue for enhancement of this functionality would be to create a DBLQUADSHOW to show the progress of DBLQUAD. I intend to create such a function at some future time, but if you want to adapt QUADSHOW for this purpose before I do, please feel free to do so and post it to the File Exchange.

引用

Steven Lord (2024). QUADSHOW (https://www.mathworks.com/matlabcentral/fileexchange/15117-quadshow), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2007a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersJust for fun についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0