1,178 reputation
413
bio website
location Sydney, Australia
age 48
visits member for 2 years, 2 months
seen yesterday

Feb
16
comment Why does Mathematica evaluate Sin[2.0] but not Sin[2]?
Funnily enough, @DonComo, this N[Sin[2], 2]^2 + N[Cos[2], 2]^2 == 1 is True, although you may get a very different result in traditional programming languages. Here is what you get in Ruby (irb): ` Math.sin(2).round(2)**2 + Math.cos(2).round(2)**2 == 1` => false. The reason is that Mathematica keeps track of precision and, at the level of precision requested, the two expressions are the same :)
Feb
16
comment Measuring fractal dimension of natural objects from digital images
@VitaliyKaurov, glad you liked it. Note that Viola & Jones rightly pointed out a link between integral image and Haar wavelet basis in their paper; although this wasn't explored further. It is unclear to me the link between the paper you mentioned and fractal dimension, but certainly worth reading as I am interested in these kind of problems. Cheers.
Feb
13
awarded  Tumbleweed
Feb
6
asked How to keep labels inside the box in BarChart3D
Feb
1
accepted Better way to get Fisher Exact?
Feb
1
comment Better way to get Fisher Exact?
Unexpected but interesting answer. Acknowledged as promised!
Jan
31
answered BarChart3D does not print zeros and odd tick positions
Jan
31
comment Better way to get Fisher Exact?
Thanks a lot @romke-bontekoe. This is for someone who expects/needs p-values as practiced usually in medicine research, i.e. from a frequentist point of view. Do you know any support of this Bayesian view in medicine/genetics? Interestingly enough, your examples are suitable for Pearson's $\chi^2$, although the test in this context is whether one has an expected matrix having the same row and column sums as the data or not. In a Bayesian view, prior knowledge of both, row and column sums, right? Again, thanks, very interesting!
Jan
31
revised Better way to get Fisher Exact?
Algorithm explained with an example.
Jan
31
revised Better way to get Fisher Exact?
Code placed in github.
Jan
31
asked Better way to get Fisher Exact?
Jan
30
revised BarChart3D does not print zeros and odd tick positions
added 35 characters in body
Jan
30
comment BarChart3D does not print zeros and odd tick positions
@Murta, I haven't received an email to upgrade, I have 9.0.0.0 on Mac. Maybe I should contact Wolfram.
Jan
30
comment BarChart3D does not print zeros and odd tick positions
Thanks @Mr.Wizard, I have version 9.0.0.0 and it seems behaviour changed. I am happy with my workaround tough. If you can shed light on how to place the labels I will give you the answer; my current manual placing is not portable to other NxM matrices, which is bad. Cheers!
Jan
30
revised BarChart3D does not print zeros and odd tick positions
Found workaround.
Jan
30
asked BarChart3D does not print zeros and odd tick positions
Jan
25
comment Is it possible to embed a cdf file into a GitHub Page
In addition to the embedding code, one usually needs to ensure the webserver sends the right MIME type. And afaik, github does not allow this, see
Jan
19
comment Data acquisition from a Measurement Computing USB device
Have you seen the device interface? And this guide?
Jan
16
comment Pattern matching
Good! Note that as said in the guide "/" is also not a built-in. You may also want to explore commutativity and associativity, Orderless and Flat properties in Mathematica terms; and OneIdentity, which is Mathematica 's way to say that Plus[x] is just x, kind of saying that Plus has an identity element without mentioning it. See here
Jan
16
revised Pattern matching
added 96 characters in body