From bug-request at octave dot org Tue Nov 29 21:31:25 2005 Subject: blkdiag.m (now as plaintext attachment) From: "John W. Eaton" To: William Poetra Yoga Hadisoeseno Cc: bug at octave dot org Date: Tue, 29 Nov 2005 22:31:12 -0500 On 26-Nov-2005, William Poetra Yoga Hadisoeseno wrote: | I've fixed a test case, and now it's sent as a plaintext attachment ;) | | -- | William Poetra Yoga Hadisoeseno | Index: ChangeLog | =================================================================== | RCS file: /cvs/octave/scripts/ChangeLog,v | retrieving revision 1.467 | diff -u -r1.467 ChangeLog | --- a/ChangeLog 23 Nov 2005 03:55:08 -0000 1.467 | +++ b/ChangeLog 26 Nov 2005 02:19:18 -0000 | at @ -1,3 +1,8 @@ | +2005-11-23 William Poetra Yoga Hadisoeseno | + | + * general/blkdiag.m: Import from octave-forge. | + Ignore empty matrices in the input. Add tests. | + | + csz = cumsum ([0 0; (cell2mat (cellfun ( at size, varargin')))], 1); I applied this patch, but cell2mat is not part of Octave yet, so we will need that too. Thanks, jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------