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

Home » Public Forums » archive » Help about IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Help about IDL [message #78154] Tue, 25 October 2011 09:45
Waleria is currently offline  Waleria
Messages: 6
Registered: October 2011
Junior Member
Hi all,

I need to use a binary file created in IDL to read in JAVA, but i'm
having trouble.

My code in IDL: http://pastebin.com/183KXxke


My code in JAVA: http://pastebin.com/nbscx7sM

I created a matrix: mat=[[0.10000000, 0.20000000],[0.40000000,
0.50000000]]

So, when i do: print, mat[0,0] ...the result is 0.100000 that is
correct

But in the JAVA when i do: System.out.println("The value is "+ aux[i]
[j]);
The result is
O valor da aux -4.29492128E8
O valor da aux -4.28443584E8
O valor da aux -4.2949216E8
O valor da aux 8.8E-44

That is incorrect.

But i don't know what is wrong

Can you help me??

Thanks,
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to determine if ENVI is loaded?
Next Topic: Re: How to determine if ENVI is loaded?

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

Current Time: Wed Oct 08 13:47:06 PDT 2025

Total time taken to generate the page: 0.00457 seconds