From: Mathew on 23 Mar 2010 21:50 The following script crushes MATLAB: S = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11.0304 0 0 8.2824 0 0 0 0 0 0 0 11.8421 0 0 0 0 0 0 20.5742 0 0 0 0 0 16.3175 0 0 0 0 0 19.9590 0 0 0 0 0 27.6943 0 0 0 0 0 39.6736 0 0 0 0 0 44.5928 0 0 0 0 0 58.7366 0 0 0 0 0 83.3570 0 0 0 0 0 24.9762 0 0 0 0 0 98.0774 0.8771 0 0 0 0 188.4423 1.6887 0 0 0 0 22.6704 0 0 0 0 0 46.0965 0 0 0 0 0 28.9979 0 0 0 0 0 37.3310 0 0 0 0 0 40.0844 0 0 0 0 0 18.1844 0 0 0 0 0 19.9987 0 0 0 0 0 9.4766 0 0 0 0 0 39.4502 0 0 0 0 0 19.3608 0 0 0 0 0 48.6542 0 ]; S = sparse(S); normit = @(x)(max(sqrt(sum(x.^2)),eps)); S = bsxfun(@rdivide,S,normit(S)) Anybody can help? Thanks, Mathew
From: Mathew on 23 Mar 2010 22:18 Here is a simple case: S = zeros(20,4); S(:,3) = 1; S = sparse(S); S = bsxfun(@times,S,[1 1 1 1]) How can it crush? is that my computer problem? Any gent can repeat the crush?
From: Matt Fig on 23 Mar 2010 23:17 Looks like someone else already noticed. http://www.mathworks.com/support/bugreports/508175
From: Mathew on 23 Mar 2010 23:31 Thank you Matt. I need to update to newest version of MATLAB.
|
Pages: 1 Prev: transform RGB to HSV Next: Video compression in Windows 7 x64 |