Tabulated Gauss-Kronrod weights and abscissae

4 vues (au cours des 30 derniers jours)
Dhanushka Palipana
Dhanushka Palipana le 1 Juil 2020
Modifié(e) : John D'Errico le 7 Juil 2020
Hello!
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?
Thanks
Dhanushka
  1 commentaire
Sai Sri Pathuri
Sai Sri Pathuri le 7 Juil 2020
Which resource did you refer for mp.GaussKronrod function? I am unable to find it in MATLAB documentation.

Connectez-vous pour commenter.

Réponses (1)

John D'Errico
John D'Errico le 7 Juil 2020
Modifié(e) : John D'Errico le 7 Juil 2020
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.

Community Treasure Hunt

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

Start Hunting!

Translated by