2,731 reputation
512
bio website
location
age
visits member for 2 years, 11 months
seen Dec 18 at 19:04

Dec
18
comment Module function corrupts string?
Unless an explicit Return is used, the value returned by For is Null.
Dec
18
comment Module function corrupts string?
it is not a hack to use proper syntax
Nov
25
comment What quantity is this “length” called?
Perhaps you really want a test for the result being a List or not? Then you might look at ListQ (undocumented tho).
Nov
13
reviewed Approve Is Mathematica 10 compatible with Mac OS X 10.10 Yosemite
Nov
11
reviewed Approve Finding the point of minimum distance between two parametric functions
Nov
11
reviewed Edit How to ask Mathematica to imitate Andy Warhol's pop-art painting?
Nov
11
revised How to ask Mathematica to imitate Andy Warhol's pop-art painting?
added two links
Nov
11
reviewed Approve How to remove a line of a matrix if not all elements are numeric?
Nov
7
comment Selection bugs make Mathematica 10 unusable
support.wolfram.com/kb/12464
Nov
5
answered Finding duplicates in a list
Oct
2
comment Replacing columns of a matrix with zeros
I suppose you could do something like this then MapAt[#*0&,list1,{All,1;;3}]
Oct
1
comment Outputting numbers symbolically
Inactivate[Table[2^n, {n, 1, 5}], Power] (I am not obsessed with Inactive I promise)
Oct
1
comment Strange style conversion indicator appeared when type “a Pre”
From reference.wolfram.com/language/ref/CodeAssistOptions.html it looks like the option is "AutoConvertEnable".
Oct
1
comment How to regress negative log?
Something like NonlinearModelFit[data, -p2 Log[p1 x],{p1,p2},x] where p1 and p2 are parameters?
Oct
1
comment Spherical parametric plot
If you have version 9+ you can use: ParametricPlot3D[Evaluate[CoordinateTransform[ "Spherical" -> "Cartesian",{2 Cos[t]+Sin[t],t,Sin[10 t]}]],{t,0,Pi/2}]
Oct
1
comment How to simplify symbolic matrix multiplication using the associativity of scalar multiplication?
This may be too specific: Thread[(2 A).(3 B), Times] /. Dot[a_?NumericQ, b_?NumericQ] :> a b
Sep
12
comment Join decimal part
just beat me to it, yours is the same as mine (essentially):toDecimal[a_, b_] := N[a + (-1)^Sign[a] b 10^(-IntegerLength[b])]; list /. {a_, b_, c_, d_} :> {toDecimal[a, b], toDecimal[c, d]} (* {0.1, -2.259} *)
Sep
12
answered Convert Locator (x,y) values to Lat/Lon as per GetCoordinates on Map
Aug
27
comment Numerical value of physical constants Mathematica 10
you can also use QuantityMagnitude to get the value out.
Aug
27
comment Numerical value of physical constants Mathematica 10
or In[647]:= UnitConvert[Quantity[1, "PlanckConstant"], "eV*s"] Out[647]= Quantity[4.135668*10^-15, "Electronvolts" "Seconds"]