61,578 reputation
18168293
bio website
location California, USA
age
visits member for 2 years, 8 months
seen 11 hours ago

11h
comment Calendar view outline
I believe you can use this answer of mine to get the outline as a closed Line (just feed the points to Line).
11h
comment My Baum-Welch algorithm is very slow. Is it due to Mathematica?
(Just so you know, some of these comments are automatically generated from the /review queue). To commenters and flaggers: the "commentness" of the answer is noted and I think we all (including Igor) agree on that. However, Igor also has a valid point that the link does answer the question fully and reproducing the code there (which is a lot) is kinda futile. Please participate in the meta discussion if you have thoughts/more to say on this. I will not be deleting this answer.
12h
comment My Baum-Welch algorithm is very slow. Is it due to Mathematica?
That is a lot of code for anyone on this site to have time to read/critique/analyze it fully and most likely, no one is going to. However from a quick glance at the code, I can most certainly say that the slowness is due to the procedural programming style. All those Sum[Sum[Sum[Sum... terms in nested Whiles are bound to give terrible performance. Writing the algorithm in a functional manner would certainly speed things up a lot. Unfortunately, it is hard (for me at least) to recommend specific changes to make to your code. If I were you, I'd start afresh with functional (use Igor's link)
Sep
20
comment Converting code from Matlab to Mathematica
I wrote an implementation of k-means in this answer.
Sep
17
comment Is garbage collection broken in version 10.0.0?
I don't have 10.0.1 or Mathematica with me now, but what you're describing doesn't seem unexpected. I think if you re-evaluate the top cell a second time, you should see {"foo$"} in the output.
Sep
16
comment How do I plot the images of oriented curves under complex transformation?
I used to have a "systematic way to obtain a nice parametrization of an arbitrary conic" — it was called "Ask J. M." :)
Sep
15
comment How do I bandpass a signal in Mathematica 8
@Mr.Wizard No, sorry. It's a lot of time commitment and detail that's well beyond the scope of this site. OP still hasn't replied to my question re: MATLAB. If that's the case, then the second example here would be the best way to proceed.
Sep
15
comment How do I bandpass a signal in Mathematica 8
A crude filtering could be done with Fourier, a window and InverseFourier. If you want to use specific FIR/IIR filters with certain guarantees of performance in the pass/stop bands, then you're going to have to write a lot of the code yourself. If you have access to MATLAB (and the DSP toolbox), then I suggest using the functions from it in Mathematica 8.
Sep
14
comment Random symmetric matrix
Ah, yes of course.
Sep
14
comment Random symmetric matrix
Why not just do $M = (A + A^T)/2$? I understand that while the elements are iid, the diagonals and off-diagonals have different variances, but if you're primarily concerned with the eigenvalue statistics, this should be a faster way of generating the matrices. The eigenvalues of this and your matrix should both be Wigner distributed.
Sep
8
comment Show only the outlines of graphic primitives
You can also use c_?ColorQ so that Hue, CMYKColor, GrayLevel, etc. are all recognized.
Aug
30
comment Hypergeometric function with a matrix argument
The paper has pseudocode that is fairly easy to read and implement, so perhaps you can translate it to Mathematica?
Aug
28
comment Plot a one-dimensional list of numbers as a column/row of labeled colored squares
I got a flag that this is "not an answer"... I understand that you did not intend for it to be one and I agree that it's good to share your incomplete progress/thoughts so far if it'll be of help to others. So, how about making it an edit to the question? :)
Aug
27
comment Local variables whose definitions depend on each other
I think it would be better to post this answer to the related main post so that it can be easily found (see link in question)
Aug
24
comment Bandpassing EEG's using Mathematica's Bandpass Function
You need a factor of π and also need to mention the SampleRate. See my answer here for an example.
Aug
24
comment Tools for Importing/working with SEED seismographic data in Mathematica?
You will have to write your own importers. I wrote my own SAC reader, which I can post, but rdseed is your best option for working with SEED files (use it to convert to SAC).
Aug
21
comment Export dataset to JSON
btw, the undocumented ToAssociation can also be used to convert imported json to associations.
Aug
20
comment How to combine one or more rotated graphics objects?
No cows this time? ;)
Aug
14
comment Missing functions in the Raspberry Pi V10 release
@bobthechemist Decimation is just lowpass filtering followed by downsampling. I have a decimation function in this answer.
Aug
14
comment Missing functions in the Raspberry Pi V10 release
@shrx I don't know. I typically use Names for this, not Information.