14,557 reputation
23769
bio website
location
age
visits member for 2 years, 11 months
seen yesterday

Aug
14
comment Test a wooden board's vibration mode
@Mr.Wizard I'm not implying that anybody is getting pressured. All I am saying is that this is a question of precisely the same type as the one I posed, which presumably you'd not find good (as it is not well written, not necessarily valuable for future readers unless and not of reasonable scope, as it does not even attempt to express things in programming terms). That is, it does not satisfy 3 of the 4 criteria in the question you linked to.
Aug
14
comment Test a wooden board's vibration mode
@Mr.Wizard Would you also think that "please show me how to find the ground state of the 2d Kitaev model with Mathematica's linear algebra tools" is of reasonable scope? If not, why not? (in fact, mine is a much, much less technically involved question--unless we do include the spruce bit).
Aug
8
comment unlisting a nested list
do you mean that you literally have the symbol c and would like to end up with c1 and c2?
Aug
8
comment Removing some data and replacing them with new ones
In addition to what @RunnyKine said, here's what actually happened: you ask a question that seems to be answered by Differences. Then it turns out what you actually want is a filter to replace data if (roughly) the gradient is higher than some value by some interpolated value. But this is only clear from reading the comments. It would help in getting an answer if you included the info from the comments in the question (maybe with a short version of your data and some rough attempt to do what you want). Basically, imagine you don't know what the question is.
Aug
7
comment $SU(4)$ Structure constants in mathematica
So where did you get stuck?
Aug
7
answered How to sort my list?
Aug
7
answered How to integrate a function which is only known at discrete points
Aug
5
comment Matrix containing ellipse
Doesn't MorphologicalComponents[ Rasterize[Graphics[Disk[{0, 0}, {2, 1}]], ImageSize -> 800]] give a matrix?
Aug
4
comment How to make Eigensystem in version 10 produce the same results as version 9
@xslittlegrass right, I know the closed form solution from the papers I cited (that's where I first saw them, but I am not sure if they first appeared elsewhere). If you're interested in general potentials and/or time dependent solutions then you indeed have to do it this way (numerically). As to how I knew it, I guess it's like asking "wow how did you know this is the Schrodinger equation?" isn't it? Now, if you had an interacting Hamiltonian and I spotted the potential, that would have indeed been noteworthy :)
Aug
4
comment How to make Eigensystem in version 10 produce the same results as version 9
Actually, your Hamiltonian is literally that of a SHO on a 1d lattice (plus noise). You can find analytical solutions to this here or here, although I'm not sure how useful they are to you.
Aug
4
comment How to make Eigensystem in version 10 produce the same results as version 9
@Jens I think here it really is due to degeneracies. It would have been useful to have a canonical question and answer to this somewhere.
Aug
4
comment How to make Eigensystem in version 10 produce the same results as version 9
You Hamiltonian has degenerate eigenvalues, see here. I am guessing this is a single particle in a harmonic oscillator potential (ListPlot[Diagonal[Chop@Hmtx]]), in which case the degeneracy is physically due to the reflection symmetry of the potential. If you plot the absolute value of the eigenvectors (the density) you'll see what is going on and why hybridisation is so weak.
Aug
3
comment Problem setting up C compiler on a Mac
@TedErsek You can most certainly write C programs for OSX (or any other language for which you have a compiler). XCode is an IDE, which is meant to help with writing code. It's focussed on objective C and C, but supports other languages. Now, you seem to have clang installed in the usual place, so there is some misconfiguration in mma itself. Does Compile[{{z, _Real, 1}}, Sin[z], CompilationTarget -> "C"] also return $Failed?
Jul
30
comment Best practice to group and have your favorite custom functions available at startup
I suppose you are aware of init.m and are asking for the best way to organise your functions beyond that?
Jul
28
comment Sum with Levi-Civita
@Dave84 since you have explicit values for the $a,b,c$ you can use TensorProduct
Jul
28
comment Sum with Levi-Civita
It looks like LeviCivitaTensor, not LeviCivita. Also the code you give has syntax errors, and even if it didn't it doesn't work because a and so on aren't defined and when you try to retrieve their elements, you get an error. Not to put too fine a point on it, but you need to look at the docs.
Jul
28
comment Is there a function for nearest power of 2 in Mathematica like nextpow2 in MATLAB?
Ceiling[Log[2, #]] &
Jul
25
comment Ordering oscillators with negative powers: Infinite loops
Can't you try to isolate which rule is the problem? It seems unlikely that anybody will sit down and work it out from your mass of patterns! Try to put yourself in the answerer's position.
Jul
25
comment Ordering oscillators with negative powers: Infinite loops
Can you isolate and post the bit of code that results in an infinite loop? I don't see why normal ordering according to your prescription would result in an infinite loop.
Jul
23
comment Is there a way to recreate the typical Red/Blue-Postereffect using Mathematica?
@RahulNarain truth be told, I did try improving them and got bored after 20s. So I understand you (but I'll hold on to those sweet upvotes anyway)