From: Paul K. <pki...@us...> - 2005-11-18 03:05:23
|
On Nov 17, 2005, at 2:39 PM, William Poetra Yoga H wrote: > I've modified the description and the error checking part, but the > construction > procedure remains the same. I'm not sure that use of cell2mat and cellfun improves either speed or readability. Regardless, the following test looks incorrect: + if (! all (cellfun ("ndims", varargin))) + error ("All of the arguments to blkdiag must be two dimensional matrices"); + endif |