Coolwater
Reputation
1,823
Top tag
Next privilege 2,000 Rep.
 Nov 12 answered Join the result of Print in a list Nov 11 revised Count degrees of freedom of a polynomial added 1 character in body Nov 11 answered Count degrees of freedom of a polynomial Nov 11 comment Count degrees of freedom of a polynomial I would say you should never use MatrixRank on a symbolic matrix, because MatrixRank[{{a, b}, {c, d}}] yields 2 which may be wrong. Nov 11 answered How to use With on previously defined expressions Nov 10 comment How can I change focus if 2 or more notebooks are open? Ctrl+F6 on windows Nov 10 comment Customized ListPlot Replace Hue /@ (data[[All, 1]]/10) by ColorData["Rainbow"] /@ (data[[All, 1]]/10) and in the legend Hue by ColorData["Rainbow"] Nov 10 answered Customized ListPlot Nov 1 comment Wrong output from Mathematica when evaluating a summation However, this doesn't explain why Mathematica fails for a symbolic n. In the symbolic case, it is actually not sum that fails, because the problem is due to fact that Binomial[n - r - 1, n - r] evaluates to 0. Oct 28 awarded Nice Question Oct 5 comment Defining function from table You could do either this f = <|Sequence @@ Rule @@@ Table[{x[i], y[i]}, {i, n}]|> or Map[f[#[[1]]] = #[[2]] &, Table[{x[i], y[i]}, {i, n}]];. Oct 4 comment Converting imported data into a list of pairs data = ToExpression[ToString[data10]] Oct 4 answered How to enable automatic “grammar check” for MMA? Sep 28 awarded Yearling Sep 14 comment Solving an equation containing a Factorial You are using {} and [] parenteses, where you need () Sep 10 comment Mathematica 10.0.x freezes in Initializing kernels @Italianice They should email non-premier service users too Sep 9 comment Monitoring the progress of FindRoot during evaluation @Breugem Here you get the stepsizes: L = {}; f[x_] = Cos[x]; FindRoot[f[x], {x, 8}, EvaluationMonitor :> (AppendTo[L, x]; Print[Abs[f[x]]])] and then StepSizes = Differences[L] Jul 19 revised Suddenly mathematica is very slow when screen is calibrated on windows edited title Jul 19 comment Calculating a multiplication of large number of matrices takes a long time Which version, and which exact syntax? When I evaluate Dot @@ RandomReal[{-1, 1}, {200, 4, 4}] the multiplication is rapid? Jul 19 comment How can I get constant of integration? In general you can use DSolve[{y'[x] == f[x], cond}, y[x], x], where cond is something like y[2] == 4 or y'[4] == 0