[13128] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 7.7K: matlab

daemon@ATHENA.MIT.EDU (Victor Chudnovsky)
Thu Jan 26 16:34:07 1995

To: bugs@MIT.EDU
Date: Thu, 26 Jan 1995 16:33:57 EST
From: Victor Chudnovsky <vchudnov@MIT.EDU>

System name:		hayden-8
Type and version:	SPARC/Classic 7.7K
Display type:		cgthree

What were you trying to do?
	I tried to exponentiate a complex, sparse matrix.

What's wrong:
	I get MATLAB segmentation violation message, which tells me to
mail info to TheMathworks.

What should have happened:
	I should have gotten a result! I isolated the bug to the
following:

***The following causes the error (I try to use sparse matrix):
>> x = [0+5i, 0-3i,
        3i-1, 2i+5]

x =

        0 + 5.0000i        0 - 3.0000i
  -1.0000 + 3.0000i   5.0000 + 2.0000i

>> y=sparse(x);
>> y^2

------------------------------------------------------------------------
MATLAB segmentation violation detected !!!
------------------------------------------------------------------------

Please report this problem to The MathWorks if you can replicate it.
We need as much information as you can provide! Please include at least
the following:

    1. MATLAB version number
    2. Platform type, Operating System and Window System versions
    3. Sample commands, M-files, or MEX-files that reproduce the error
    4. Any other pertinent configuration information

Either E-mail the information to:

          support@mathworks.com

or FAX this information to:

          508-653-2997.

Try to save your workspace and quit.
>>

***The following does NOT cause the error (I don't try to use sparse matrix):
>> x = [0+5i, 0-3i,
3i-1, 2i+5]

x =

        0 + 5.0000i        0 - 3.0000i
  -1.0000 + 3.0000i   5.0000 + 2.0000i

>> x^2

ans =

 -16.0000 + 3.0000i  21.0000 -15.0000i
 -26.0000 + 8.0000i  30.0000 +23.0000i


Please describe any relevant documentation references:
	[Please replace this line with your information.]




home help back first fref pref prev next nref lref last post