825 reputation
111
bio website
location
age
visits member for 9 months
seen 7 hours ago
stats profile views 41

May
7
comment Importing or reading data in binary format 212
Import[ .. ] with type "Bit" might be slightly better instead of the first three lines here.
May
7
comment Importing or reading data in binary format 212
i suspect you'd be best off to find an external converter to a 16 bit format..
Apr
30
comment How can I solve differential equation of the Bass diffusion model?
@user2336074 I added the code here so everyone doesnt have to follow your link --- What makes you think the reult is wrong?
Apr
29
comment How to compare graphical objects?
you can to compute/compare invarients of the shape. perimiter, area, area moments, and so on.
Apr
29
comment Mathematica giving infinity as a random number!
Note SeedRandom[8396] ; RandomReal[{0, 1}, {20}, WorkingPrecision -> 6] gives a zero.. in fact the chance of an exact zero is about 1 in 10^6 .. indicating they are truncating to 6 places, not using 6 digits precision
Apr
26
comment how to Export raster data as a tiff unmolested
thanks, you know I somehow missed that page searching..
Apr
26
revised how to Export raster data as a tiff unmolested
added 124 characters in body
Apr
26
accepted how to Export raster data as a tiff unmolested
Apr
26
revised how to Export raster data as a tiff unmolested
added 455 characters in body
Apr
26
comment How can I find a function that fits some points?
Do you just want to fit those points or do you want a function that is good for interpolaton in between? The appropriate fit can be quite different.
Apr
26
revised how to Export raster data as a tiff unmolested
added 180 characters in body
Apr
26
asked how to Export raster data as a tiff unmolested
Apr
11
comment Creating hexahedral finite elements in Mathematica
are you asking about meshing or about solving ?
Apr
4
answered Mathematica loop code not behaving as expected
Apr
3
comment Mathematica loop code not behaving as expected
the direct fix is to use AppendTo, though of course you dont really want to use for loops at all.
Apr
3
comment Accessing list elements by name
see "Functions That Remember Values They Have Found" in the manual
Apr
3
comment Compile: Putting integers into a list
It seems when the compiled function returns an array it is always made homogeneous. One float and the whole thing is cast as float. Makes sense, but really how hard would it be for the good folks at wolfram to just say that in the docs..?
Apr
2
comment How to change the value of an array that is outside the For loop, from inside the For loop
h[d_] := ( matdelta=Tab.... ; ArrayFlatten[ ... ) Note such a delayed function definition doesnt do much performance wise vs. putting the code in the loop.
Mar
31
comment List reversion inspired by Python
is the generalization to arbitrary negative increments Reverse[list][[;;;;Abs[inc]]] or Reverse[list[[;;;;Abs[inc]]]] ? Anybody sure without trying it..?
Mar
30
comment List reversion inspired by Python
IMO your python trick is an oddity. Evan an experienced python programmer may not expect that result. Why would you want behavior that only serves to make code hard to understand?