Software Listing of Author : "David Holdaway"
- block diagonal multiplication
- License: Shareware
- Price:


Used to perform B*M or M*B with B a block diagonal matrix, B is stored as a cell array (call it C) with each element a matrix as a block of B, such that B = blkdiag(C{:}). This speeds up the multiplication when B is large and also allows the operation to take place when B could not fit in the memory stored as a full block diagonal matrix. Operations B'*M = (M'*B)' and M*B' can be performed using transpose identities
- Publisher: David Holdaway
- Date Released: 11-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- block diagonal representation
- License: Shareware
- Price:


Converts a matrix into a cell array of different sized matrices that make up the blocks. Essentially if one has a matrix M that they wish to store more efficiently in memory/use for function bldiagmult.m (same author), then use cellform = blkdiagconv( M ); this is such that using the inbuilt Matlab function one has M == blkdiag(cellform{:}) it is essentially the inverse function to blkdiag.
- Publisher: David Holdaway
- Date Released: 06-04-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Gauss Laguerre Quadrature
- License: Shareware
- Price:


Generates points and weights for Gauss Laguerre Quadrature, to a tolerance, tested for N < 300 Finds zeros and improves via recursion
- Publisher: David Holdaway
- Date Released: 26-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Generate binomial table
- License: Shareware
- Price:


Uses a recursion relation to generate all the binomial coefficients nchoosek(n,k) for a range n<=nmax, k<= n. This is much faster than using nchoosek to make this table. The idea of this function is to be used when you have to evaluate large sums involving binomial coefficients, generating this table and sampling it would be much quicker than generating elements on the fly. For this reason there is an inbuilt option that if the function is given two parameters it will generate a table of log(nchoosek) which is useful if it appears in summations where nchoosek may evaluate to inf.
- Publisher: David Holdaway
- Date Released: 21-01-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts
- Permsnonindentical
- License: Shareware
- Price:


Generates all possible permutations using the inbuilt perms function and uses a siphon to distinguish which ones are the same.
- Publisher: David Holdaway
- Date Released: 12-02-2013
- Download Size: 10 KB
- Download
- Platform: Matlab, Scripts