Tabulated Gauss-Kronrod weights and abscissae

4 views (last 30 days)
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 Comment
Sai Sri Pathuri
Sai Sri Pathuri on 7 Jul 2020
Which resource did you refer for mp.GaussKronrod function? I am unable to find it in MATLAB documentation.

Sign in to comment.

Answers (1)

John D'Errico
John D'Errico on 7 Jul 2020
Edited: John D'Errico on 7 Jul 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!