[julia-users] Warning when starting Julia in Juno: require(Symbol) in module Base at loading.jl:317 overwritten...

2016-08-29 Thread Dennis Eckmeier
Hi, Getting started with Julia, I installed Julia, and then Juno on Atom. I got Julia to start, but I get the following warning: WARNING: Method definition require(Symbol) in module Base at loading.jl:317 overwritten in module Main at C:\Users\\.julia\v0.5\Requires\src\require.jl:12. WARNING:

[julia-users] Re: How to write a binary data file? (Matlab to Julia translation)

2016-09-11 Thread Dennis Eckmeier
* sorry, I forgot to mention: in the Matlab code the file is opened and closed with 'big-endian ordering'.

[julia-users] Re: How to write a binary data file? (Matlab to Julia translation)

2016-09-11 Thread Dennis Eckmeier
Update: Currently trying hton() to write in big endian, but apparently it doesn't have a method for arrays?

[julia-users] How to write a binary data file? (Matlab to Julia translation)

2016-09-11 Thread Dennis Eckmeier
Hi, I'm translating matlab code (a wrapper for Laurens van der Maaten's Barnes-Hut t-sne code) in order to learn Julia. Within the code, data are saved as .dat file to then be read by a windows executable. The Matlab code (which works on my system) writes the data this way: * fwrite(h, n,

[julia-users] different Eigenvalue results Julia vs Matlab

2016-09-10 Thread Dennis Eckmeier
Hi, I am new to Julia and rather lay in math. For practice, I am translating a Matlab script (written by somebody else) and compare the result of each step in Matlab and Julia. The Matlab script uses [V,D] = eig(covX); which I translated to Julia as: (D,V) = eig(covX) However, the outcomes

Re: [julia-users] different Eigenvalue results Julia vs Matlab

2016-09-10 Thread Dennis Eckmeier
2016 at 1:34 PM, Dennis Eckmeier < > dennis@neuro.fchampalimaud.org > wrote: > >> Hi, >> >> I am new to Julia and rather lay in math. For practice, I am translating >> a Matlab script (written by somebody else) and compare the result of each >> step in Ma

Re: [julia-users] different Eigenvalue results Julia vs Matlab

2016-09-10 Thread Dennis Eckmeier
Thanks, that's reassuring. On Saturday, September 10, 2016 at 4:15:23 PM UTC+1, Tracy Wadleigh wrote: > > Looks good to me. The eigenvalues look the same up to the precision shown > and eigenvectors are only unique up to a scalar multiple. > > On Sep 10, 2016 8:11 AM, &

[julia-users] How do I call run()?!

2016-09-10 Thread Dennis Eckmeier
Hi, I am trying to run an executable on Windows 10. I can run it from DOS command line and I double checked the current working path in Julia is the one that includes the bh_tsne.exe. *run('bh_tsne')* *> syntax: invalid character literal* All sources I find call run() with this syntax o.O

[julia-users] Re: How to write a binary data file? (Matlab to Julia translation)

2016-09-21 Thread Dennis Eckmeier
On Wednesday, September 21, 2016 at 1:06:55 AM UTC+1, Steven G. Johnson wrote: > > > > On Tuesday, September 20, 2016 at 3:46:47 PM UTC-4, Dennis Eckmeier wrote: >> >> So, I tried this, but the data are still not stored as the Matlab code >> (first post) would do it.

[julia-users] Re: How to write a binary data file? (Matlab to Julia translation)

2016-09-20 Thread Dennis Eckmeier
s)) # X=X' for i in eachindex(X) write(h,hton(X[i])) end close(h) end The output is "Read the 0 x -402456576 data matrix successfully!" - which, obviously doesn't make sense... D On Sunday, September 11, 2016 at 8:10:22 PM UTC+1, Dennis Eckmeier wrote: > > Update: Cur