782 reputation
12
bio website flickr.com/photos/…
location
age 25
visits member for 10 months
seen 9 hours ago

I'm the little trashcan that could!


Jul
28
comment Symbolic matrix calculus: What's new in Version 9
A similar question was asked at mathematica.stackexchange.com/questions/3242/… regarding purely symbolic computations of vector derivatives of matrix/vector expressions of unspecified rank. AFAIK it's not straightforward to do, unfortunately.
Jul
9
comment StringCases: return list of outputs for each of several patterns
@Kuba: Looks good, thanks.
Jul
9
accepted StringCases: return list of outputs for each of several patterns
Jul
9
asked StringCases: return list of outputs for each of several patterns
Jul
5
comment 256 Shades of Grey
For example, using Image[Table[ x + RandomReal[{-1/256, 1/256} 0.2], {y, 1, 250}, {x, 30/256, 40/256, 0.02/256}], Magnification -> 1] just barely smooths away the bars.
Jul
5
comment 256 Shades of Grey
Haha, in retrospect the use of random noise dithering should have been obvious, thanks!
Jul
5
accepted 256 Shades of Grey
Jul
5
comment 256 Shades of Grey
@Szabolcs: My aim was to display them, in which case the dithering suggestion works great. Thanks!
Jul
5
comment 256 Shades of Grey
@m_goldberg: Apologies, I guess I wasn't being clear. Basically what I would like would be a way to have Image display render an array of numbers with more than 256 shades per color channel of color resolution. I'm not sure if this is actually possible (I don't know much about graphics hardware and what its limitations are).
Jul
5
asked 256 Shades of Grey
Jul
2
awarded  Curious
Jun
14
accepted Labeling vertices by number in Graph: Getting text to display at the right size
Jun
14
comment Labeling vertices by number in Graph: Getting text to display at the right size
Hi, and thanks for the post. This doesn't exactly answer my question, since setting $n=5$ in your code still gives the same problem; I was mainly looking for something which renders correctly for all $n$. That said, my issue is a minor aesthetic one, and I can always do the vertex sizes manually if needed, so if no one else posts anything I'll accept this answer. I tend to use the SpringElectricalEmbedding method, I hadn't seen the BalloonEmbedding you used, seems like an interesting alternative.
Jun
14
revised Labeling vertices by number in Graph: Getting text to display at the right size
added 31 characters in body
Jun
14
asked Labeling vertices by number in Graph: Getting text to display at the right size
Jun
11
comment How to Normalise / Normalize eigenvectors?
Mathematica already does this automatically, so there is no need to call any additional commands. When you call Eigensystem, the eigenvalues are already normalized.
Jun
11
comment How to binarize a matrix
As Pickett says, there is a built-in function in Mathematica that does that: type in Unitize[A].
Jun
10
comment A suspicious result of an integral
The result is correct. The integral does not depend on either $\beta$ or $\hbar$, which is why $\beta\hbar$ does not appear in your answer.
Jun
9
answered Transition matrix of order n
May
21
accepted Setting an element of an array to a value