comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL inverse matrix problem??
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL inverse matrix problem?? [message #90087 is a reply to message #90083] Fri, 23 January 2015 12:08 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Friday, January 23, 2015 at 2:56:35 PM UTC-5, Amin Farhang wrote:

The MATLAB result *looks* right because you aren't printing many decimal places.

Try this with the IDL result

IDL> print,CM,format='(5f10.4)'

1.0000 -0.0000 -0.0000 -0.0000 0.0000
-0.0000 1.0000 -0.0000 -0.0000 0.0000
-0.0000 -0.0000 1.0000 -0.0000 0.0000
-0.0000 -0.0000 -0.0000 1.0000 0.0000
-0.0000 -0.0000 -0.0000 -0.0000 1.0000

but both MATLAB and IDL likely store the numbers the same way (IEEE arithmetic) internally.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HASH assignment
Next Topic: saving an output from the find.pro script

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Nov 28 09:25:58 PST 2025

Total time taken to generate the page: 0.20400 seconds