Re: Hankel matrix?
- To: mathgroup at smc.vnet.net
- Subject: [mg59369] Re: [mg59336] Hankel matrix?
- From: Pratik Desai <pdesai1 at umbc.edu>
- Date: Sun, 7 Aug 2005 03:47:01 -0400 (EDT)
- References: <200508060529.BAA01120@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Thomas Schmelzer wrote: >Hello, >given a list of coefficents I would like to create a Hankel matrix. > >Let's say > >1/Gamma(z)=sum c_k z^k > >I am now interested in the coefficents c_4,...c_100 (numerical >approximations are fine) > >I would like to generate the Hankel matrix > >c_4 c_5 > >c_5 > >c_6 > >c_7 > >etc. > >How do I have to proceed in Mathematica? It seems there is nothing to build >a Hankel matrix with. >Thanks a lot >Thomas > > > > Actually there is Look at << LinearAlgebra`MatrixManipulation` package in help. Based on what you have posted here is my attempt; Clear[gamma1, coeffpos, list1] gamma1 = Total[Table[z^j*Gamma[j], {j, 5}]] coeffpos = Position[gamma1, _?IntegerQ] list1 = Extract[gamma1, coeffpos] HankelMatrix[list1] // MatrixForm Hope this helps Best Regards, Pratik -- Pratik Desai Graduate Student UMBC Department of Mechanical Engineering Phone: 410 455 8134
- References:
- Hankel matrix?
- From: "Thomas Schmelzer" <thomas.???@balliol.ox.ac.uk>
- Hankel matrix?