MATLAB Answers

Tabulated Gauss-Kronrod weights and abscissae

8 ビュー (過去 30 日間)
Dhanushka Palipana
Dhanushka Palipana 2020 年 7 月 1 日
編集済み: John D'Errico 2020 年 7 月 7 日
I have the below code that I want to run.
[xk,wk] = mp.GaussKronrod(7); % Corresponding Kronrod nodes & weights for [-1,1]
num2str([xk wk],'%45.34e\t\t%40.34e')
I don't have the mp.GaussKronrod function that they say is built-in. Does anyone know where I can find this function?

  1 件のコメント

Sai Sri Pathuri
Sai Sri Pathuri 2020 年 7 月 7 日
Which resource did you refer for mp.GaussKronrod function? I am unable to find it in MATLAB documentation.

Sign in to comment.

回答 (1 件)

John D'Errico
John D'Errico 2020 年 7 月 7 日
編集済み: John D'Errico 2020 年 7 月 7 日
I might presume the mp indicates some variation of the multi-precision toolbox. An old free version has been on the File Exchange for many years.
I just took a quick glance at the functions listed there, and I do not see a GaussKronrod code. At first I might guess it is code someone added to the toolbox on their own.
So then I did a search using the terms "multi precision GaussKronrod". This leads me to the page
There we see that GaussKronrod is provided as part of a paid version of this toolbox. At best, you can get a 7 day free trial.

  0 件のコメント

Sign in to comment.

Translated by