Reputation
53,182
Next tag badge:
112/100 score
18/20 answers
Badges
2 82 210
Impact
~701k people reached

Apr
12
comment Alter evaluation order when applying scalar multiplication to function
There isn't really a better way, just alternatives with similar level of complexity: For example: g = (2#)&@*f uses Composition.
Apr
11
comment What is the FullForm of 36^^sadjh.87s567*^-34?
I agree that the most direct answer would be "it doesn't exist" - but I assumed that you wanted something more useful. Maybe it would help if you explained some more what your goal is.
Apr
10
comment What is the FullForm of 36^^sadjh.87s567*^-34?
I would say the closest thing to a meaningful interpretation of this question is to say that the FullForm is BoxData["36^^sadjh.87s567*^-14"].
Apr
10
comment Why does a comma insert a line break in a comment?
I see this too. Also happens with semicolon. No idea why anyone would deliberately want this behavior... I guess you could work around it by opening an inline cell with Ctrl-9 and typing the comma in that.
Apr
9
comment How can I speed up this NM optimization? Most delay seems to be due to long analytic expression
Is there any way you could post a minimal working example as code in your question? Otherwise this post will be of very limited use for other users browsing the site, especially if the linked file at some point gets deleted.
Apr
9
comment Simplify with assumption of unknown function
The accepted answer to the question I linked earlier also works for this case. So I would say it's a duplicate. You just have to do your simplifications wrapped by AssumingAll[entry[__]>0, ...]
Apr
9
comment Simplify with assumption of unknown function
The output doesn't seem to make mathematical sense because addition of logical values isn't defined.
Apr
8
comment Simplify with assumption of unknown function
Very closely related, probably a duplicate: Unknown function with arbitrary arguments assumption
Apr
7
comment Separate output screen; clearing (cleaning) output screen
I don't think the functionality exists in the standard notebook interface, although it could probably be created in a custom notebook with the help of dynamic interactivity. I could imagine this might be useful for some things, but notebooks are not organized like that by default.
Apr
5
comment Is there a way to run Python from within Mathematica?
Oh well, that's just a formatting error when I manually tried to put the python string into a form that looks right in the code cell above. One extra space crept in, and that kills python. I fixed it. If it still doesn't work, it could be dependent on the OS and version of Mathematica. This RunProcess command doesn't work in earlier versions... by the way, another way of interacting with python is through the clipboard on Mac. But I don't know what your actual goal is, so I'll skip that for now.
Apr
5
comment Is there a way to run Python from within Mathematica?
@raxacoricofallapatorius Yes, my main point is to have the script and everything it needs completely inside Mathematica. If you already have an existing script outside Mathematica, then it's not a real two-way interaction, I'd say. But what to do with an existing script specifically would depend on the application. I can't think of anything general to say about that, except that it would be possible, e.g., to pass arguments to it using my approach. An important advantage of my approach is, however, that it makes the entire process portable: you can email the notebook without attachments.
Apr
4
comment Frequency curve for discrete data
Ah, I just copied the wrong image - the last command I posted already does produce a log scale, but the image was without log scale... However, I suspect you are still looking for a different thing. You want the y axis still labeled by the actual frequency, as opposed to the logarithm of the frequency, right? In that case, I'll make another edit...
Apr
4
comment Frequency curve for discrete data
Still not sure if I understand your question, but I updated my answer with what I now think you want.
Apr
2
comment How can I remove horizontal lines on a phase plot for a pendulum?
This is how it should be done, but it's just unrealistically slow even with the radically reduced parameter range in your test. With the original range of t, I didn't have the patience to wait for a result... (+1) anyway.
Apr
2
comment How to show mulitple 3D graphics in one figure
What do you mean by rotation around a point? What is the rotation axis, and what is the specific point? Is this what you're asking for: With[{p=Plot3D[h[x,z,0.2],{z,-bm,bm},{x,-x0[z],x0[z]},PlotRange->{Automatic,Aut‌​omatic,{0,0.16}},PlotPoints->70]},Graphics3D[{Rotate[p[[1]],\[Pi]/3,{0,1,0},{-.15‌​,0,0}],p[[1]]}]]
Apr
1
comment How to insert a Matrix into a larger matrix
Your myM has many repeated identical elements. Is that always the case, or are they supposed to be all different? I mean, is there a pattern we can assume for the repetitions? Also, do you only need zeros in the large matrix to start with? This would affect the degree to which one could simplify things.
Apr
1
comment How to insert a Matrix into a larger matrix
@MrZ The positioning is in the PadLeft command. You could use ArrayPad there, too. That would allow arbitrary positioning.
Apr
1
comment How to insert a Matrix into a larger matrix
@MrZ If you want to have a more general approach, then you may want to look at @kguler's answer here. But then your question should have made it clearer that you want a more general outcome.
Apr
1
comment Sum over Binomials and Gammas
Confirmed in version 8 on Mac OS X.
Apr
1
comment How to integrate Mathematica with other software
If you're not using WebMathematica and try to integrate a "regular" copy with a web interface, you're probably violating the license agreement. But to decide that, you'd (a) need a specific example and (b) ultimately still may need to ask Wolfram support.