Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
31 Oct 2009 Block tridiagonal solver Solves block tridiagonal systems of equations. Author: Greg von Winckel jalal, jave

I want to use this code, where i have an N*N blocktridiagonal matrix, each entry is a an N*N tridiagonal matrix in itself. Could you please help me with how to enter the number of blocks.
syntax , nblk=rows/N;
N can be 100
please help me, how to use number of blocks in the algorithm.

24 Jul 2009 Bessel Function Zeros Computes the first k zeros of the Bessel Function of the 1st and 2nd Kinds. Author: Greg von Winckel Avsaroglu, Baris

Hi all

I am using the function in Matlab R2008a
I entered the command besselzero(1/2,1,2)
and the result is different than the value from
Mathematica s BesselYZero[1/2,1]
I also tried some other combinations which seemed fine.
I just wonder if this is a special case or I should check
the numbers given by this Matlab function with some other online sources. Thanks

05 May 2009 Pade' Approximant Computes coefficients of Pade' Approximants to symbolic functions. Author: Greg von Winckel Zhao, Wei

would be better if it could expand in any point

05 May 2009 Legendre-Pade Approximation Computes the Legendre Pade approximation to an analytic function. Author: Greg von Winckel Zhao, Wei

example needed

22 Mar 2009 Legendre-Gauss Quadrature Weights and Nodes Computes the Legendre-Gauss weights and nodes for solving definite integrals. Author: Greg von Winckel Acou, Christine

Excellent! Thanks for sharing. Do you have a reference for your algorithm?

22 Feb 2009 Bessel Function Zeros Computes the first k zeros of the Bessel Function of the 1st and 2nd Kinds. Author: Greg von Winckel LiFT, ZeRO

Good luck

05 Feb 2009 Legendre-Gauss Quadrature Weights and Nodes Computes the Legendre-Gauss weights and nodes for solving definite integrals. Author: Greg von Winckel KV, Mohan

Neat program. Well done!

05 Feb 2009 Legendre-Gauss Quadrature Weights and Nodes Computes the Legendre-Gauss weights and nodes for solving definite integrals. Author: Greg von Winckel KV, Mohan

30 Jan 2009 Legende-Gauss-Lobatto nodes and weights Computes the Legendre-Gauss-Lobatto weights, nodes and vandermonde matrix. Author: Greg von Winckel Robert

It's very good!
However, the problem can be rather tricky.
see the book 'Nodal discontinuous Galerkin methods', in 2D case, the transformation from 1D LGL points to 2D triangle LGL points is really complicated

01 Jan 2009 Pade' Approximant Computes coefficients of Pade' Approximants to symbolic functions. Author: Greg von Winckel Johannes

Is it fixable to meet atan(x) ?
And will it hold for all real values in the rage of [-inf +inf]?
I have code in the hand that could also compute unsymmetric pade approximants but I only use it for exp(x). I yet did not have the time to try implementing it for symbolic functions. The expantion point can be defined on input already. I am interested on getting approximants for the arcustangens(x) Function that hold for all real values.

08 Oct 2008 Bessel Function Zeros Computes the first k zeros of the Bessel Function of the 1st and 2nd Kinds. Author: Greg von Winckel Aurelio, Jesús

i dont have comments jeje sorry but this informaion is good ! ! thank you!!!

11 Sep 2008 Legendre-Gauss Quadrature Weights and Nodes Computes the Legendre-Gauss weights and nodes for solving definite integrals. Author: Greg von Winckel qren, alex

18 Aug 2008 Gaussian Quadrature for Triangles Compute Gauss nodes and weights for a triangle Author: Greg von Winckel ., DAR

Seems good. Too much simple thought.

17 Jun 2008 Numerical Integration on an Arbitrary Grid Computes weights for numerical integration on arbitrary grid points. Author: Greg von Winckel Nagane, Vikram

I want to know some simple methods of solving integration

28 May 2008 Block tridiagonal solver Solves block tridiagonal systems of equations. Author: Greg von Winckel Moucha, Rob

I would not be so quick to dismiss this code. As Alfonso Bueno pointed out - this code is slower than mldivide for sparse matricies, but if you are storing your matrix as full rather then sparse, then the speed up over mldivide is huge.

27 May 2008 Finite Difference Weights Computes the finite difference for a uniform grid. Author: Greg von Winckel Olson, Britton

Very simple and straight forward. Great program and time saver

25 May 2008 Gaussian Quadrature for Triangles Compute Gauss nodes and weights for a triangle Author: Greg von Winckel mousavi, meysam

30 Apr 2008 Fast Chebyshev Transform (1D) Transfroms between nodal and spectral values. Author: Greg von Winckel tal, sid

why doesn't this work for derivatives, when I use the standard iterative scheme to get the modes of the differentiated function?

22 Apr 2008 Legendre-Gauss Quadrature Weights and Nodes Computes the Legendre-Gauss weights and nodes for solving definite integrals. Author: Greg von Winckel Zhong, Xinghui

09 Apr 2008 2D Barycentric Lagrange Interpolation Interpolates a function on a rectangle. Author: Greg von Winckel jie, ren

good job I just need them thx

06 Mar 2008 Summed Newton-Cotes Rules 2-11 Point Summed Newton-Cotes Rules Author: Greg von Winckel hhh, ll

not good

05 Mar 2008 Legende-Gauss-Lobatto nodes and weights Computes the Legendre-Gauss-Lobatto weights, nodes and vandermonde matrix. Author: Greg von Winckel Williams, R.

very accurate, easily implemented. thank you

04 Mar 2008 n-dimensional simplex quadrature % Construct Gauss points and weights for a n-dimensional simplex Author: Greg von Winckel Serious, Im

This does integrate correctly. Was unable to debug the triangle quadrature function. Something to do with incorrect Y values.

04 Mar 2008 Gaussian Quadrature for Triangles Compute Gauss nodes and weights for a triangle Author: Greg von Winckel Serious, Im

Does not integrate correctly

02 Mar 2008 Bessel Function Zeros Computes the first k zeros of the Bessel Function of the 1st and 2nd Kinds. Author: Greg von Winckel Shaposhnik, Yaniv

Thank you, very useful

02 Mar 2008 Legendre-Gauss Quadrature Weights and Nodes Computes the Legendre-Gauss weights and nodes for solving definite integrals. Author: Greg von Winckel Z, Dawid

Works pretty well - thanx

29 Jan 2008 Bessel Function Zeros Computes the first k zeros of the Bessel Function of the 1st and 2nd Kinds. Author: Greg von Winckel Ghassemi, Farshid

The algorithm is fascinating and the speed is satisfactory. But there is a small defect: For Y function, the initial guess is not correctly chosen and the routine misses the first root in some cases.

27 Dec 2007 Legende-Gauss-Lobatto nodes and weights Computes the Legendre-Gauss-Lobatto weights, nodes and vandermonde matrix. Author: Greg von Winckel Qu, Fair

08 Dec 2007 Block tridiagonal solver Solves block tridiagonal systems of equations. Author: Greg von Winckel Davis, Tim

This function is now superseded by the banded solver in MATLAB. In MATLAB 7.5, x=A\b where A is block tridiagonal with k blocks of size 100-by-100 each, is about twice as fast as this function. That is:

B = ones (100,100) ;
A = sprand (kron (spdiags (ones(k,3),-1:1,k,k,), B)) ;
n=k*N ;
b=rand(n,1) ;

then compare

x = triblocksolve (A,b,N) ;

with x=A\b.

So the need for this function is no longer speed; backslash is faster and of course simpler. This function is still useful if you want to read the code to understand the algorithm, but there's no longer any need to use it in production code.

08 Dec 2007 Fast Pentadiagonal System Solver Solves symmetric and asymmetric pentadiagonal systems. Author: Greg von Winckel Davis, Tim

For production use, this function is superseded by x=A\b in MATLAB, which now includes a test for banded matrices (and uses LAPACK). I compared it in MATLAB 7.5 with A=spdiags(rand(n,5),-2:2,n,n); A=A+A'+10*speye(n) which is symmetric and positive definite. This pentsolve function was from 20x to 230x slower than x=A\b, as n increased from 100 to 10,000. The slowdown is linear; that is, this function seems to behave like O(n^2) time (which is surprising since the code doesn't have an O(n^2) behavior in it). The same thing occurs with unsymmetric banded matrices.

The accuracy of this function is fine. Its purpose now on the File Exchange is now no longer the need for speed; it's only for illustrating an algorithm (for which it's still useful).

Thus, if you're looking just to solve Ax=b for your pentadiagonal system, just use x=A\b. If you want to read the code to understand an algorithm, then this code is still useful.

29 Nov 2007 Legendre-Gauss Quadrature Weights and Nodes Computes the Legendre-Gauss weights and nodes for solving definite integrals. Author: Greg von Winckel a, a

02 Oct 2007 Bessel Function Zeros Computes the first k zeros of the Bessel Function of the 1st and 2nd Kinds. Author: Greg von Winckel m, miguel

14 Aug 2007 Gaussian Quadrature for Triangles Compute Gauss nodes and weights for a triangle Author: Greg von Winckel Hakim, YALA

I need this file for my code of FEM

04 Aug 2007 Legendre-Gauss Quadrature Weights and Nodes Computes the Legendre-Gauss weights and nodes for solving definite integrals. Author: Greg von Winckel Huynh, Phuong

I would like Tabulated Gauss points

30 Jul 2007 Fast Pentadiagonal System Solver Solves symmetric and asymmetric pentadiagonal systems. Author: Greg von Winckel R., Hassan

You can make slight changes to the code to fit your problem. You can save a lot of computation time.

06 Jul 2007 Pade' Approximant Computes coefficients of Pade' Approximants to symbolic functions. Author: Greg von Winckel Ktistakis, Michael

The code fails in cases the highest order coeffs are zero. (example: f=acos(x))

fser=taylor(f,0,Nc);
% Extract the expansion coefficients
c=sym2poly(fser)';
% Check that c includes the
% high order zero coeffs
if length(c) < Nc
    c = [zeros(Nc-length(c),1);c];
end
% Reverse the order (ascending powers)
c=c(Nc:-1:1);

05 May 2007 Bessel Function Zeros Computes the first k zeros of the Bessel Function of the 1st and 2nd Kinds. Author: Greg von Winckel aurel, ionel

01 May 2007 Bessel Function Zeros Computes the first k zeros of the Bessel Function of the 1st and 2nd Kinds. Author: Greg von Winckel Campisi, Michele

It works just fine

29 Apr 2007 Finite Difference Weights Computes the finite difference for a uniform grid. Author: Greg von Winckel Puebla, Jorge

23 Apr 2007 Bessel Function Zeros Computes the first k zeros of the Bessel Function of the 1st and 2nd Kinds. Author: Greg von Winckel lyes, harrouni

j'ai male a trouver la solution de l'equation dde la gaine fini et infini de la fibre vouler vous m'aider svp.

14 Apr 2007 Fast Pentadiagonal System Solver Solves symmetric and asymmetric pentadiagonal systems. Author: Greg von Winckel osman, Mohd

28 Mar 2007 Gaussian Quadrature for Triangles Compute Gauss nodes and weights for a triangle Author: Greg von Winckel Jin, zhenzhen

26 Mar 2007 Legende-Gauss-Lobatto nodes and weights Computes the Legendre-Gauss-Lobatto weights, nodes and vandermonde matrix. Author: Greg von Winckel Alemdar, Zeynep

It is good.

20 Mar 2007 Bessel Function Zeros Computes the first k zeros of the Bessel Function of the 1st and 2nd Kinds. Author: Greg von Winckel Parsons, Warren

Nice work. You've saved me a lot of time.

27 Feb 2007 Numerical Integration on an Arbitrary Grid Computes weights for numerical integration on arbitrary grid points. Author: Greg von Winckel Pereira, Janini

helpful

22 Feb 2007 Finite Difference Weights Computes the finite difference for a uniform grid. Author: Greg von Winckel contreras, wilson

20 Feb 2007 Numerical Integration on an Arbitrary Grid Computes weights for numerical integration on arbitrary grid points. Author: Greg von Winckel rao, cha

good

18 Jan 2007 Numerical Integration on an Arbitrary Grid Computes weights for numerical integration on arbitrary grid points. Author: Greg von Winckel Pavan Kumar, Madhava

09 Jan 2007 Legendre-Gauss Quadrature Weights and Nodes Computes the Legendre-Gauss weights and nodes for solving definite integrals. Author: Greg von Winckel b, s

works well in emag apps for tough integrands, fast and simple function

26 Nov 2006 Bessel Function Zeros Computes the first k zeros of the Bessel Function of the 1st and 2nd Kinds. Author: Greg von Winckel Romero, Bryan

works great

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com