sebhofer
Reputation
1,463
Top tag
Next privilege 2,000 Rep.
 Aug4 comment the winding number for the circle map (Arnold tongue) Ok, put my timings there. (The original timings were different for me, so I exchanged all of them. Hope that's ok.) Aug4 suggested approved edit on the winding number for the circle map (Arnold tongue) Aug4 comment the winding number for the circle map (Arnold tongue) That's not a fair comparison though, as ff[1/100,1/500] will compute the exact solution. Try ff@@SetPrecision[{1/100, 1/500}, 880];//AbsoluteTiming! For me the timing differences are negligible. Aug4 comment Making time-index dependent state-space models - where has the Kalman filter gone? What exactly is the question? You are looking for KalmanEstimator I think. And StateSpaceModel is not new btw, it's been there since V8. Aug3 comment Why does Mathematica appear to change the head of certain expressions? Mr.Wizard, do you have new insight in the problem with the short forms you linked to? You said in one of the comments you might post a partial solution at some point. I'm sure many people would be interested (including me)! Aug1 comment Dataset: cannot reproduce a basic example. A bug? Works for me under Linux (both, directly evaluating the example in the docs and pasting this snippet) Aug1 comment Mean squared error of two matrices Also, see the Matrix Norm article on Wikipedia. It might make more sense to do something like Norm[mat1-mat2] depending on the problem. In quantum physics for example the distance between two density matrices is often measured by the trace distance. Jul31 comment How to group each element with each consecutive elements in one head @Uh, I like the use of the new Composition operator! Also, I would have gone with MapIndexed too but maybe combined it with Outer(but I don't have Mathematica to test right now) Jul30 comment Minimum and maximum values under conditions Damn you... ;-) Jul30 comment Minimum and maximum values under conditions I think my new version is even faster though! Jul30 revised Minimum and maximum values under conditions added 111 characters in body Jul30 comment Minimum and maximum values under conditions Well that was just a matter of time, wasn't it... :) Jul29 answered Minimum and maximum values under conditions Jul28 comment Using ReplaceAll to replace a head I find the last statement that "Replace [...] acts from the inside out" rather missleading. What about Replace[a[b[c, d]], head_[arg__] :> newHead[arg]]? Jul27 comment Best practice of passing a large number of parameters to functions @Mr.Wizard I was referring to the latter case. Thx for the explanation! Jul27 comment Best practice of passing a large number of parameters to functions @Mr.Wizard Can you explain to me why p:_Association:par does not work in this case? Is it because par does not match _Association in its unevaluated form? Jul26 comment How can I mend this broken heart? @YvesKlett To be fair, it's one of the best titles on this site! Made me smile :) Jul25 awarded Nice Question Jul23 revised Is there a list of Octave functions mapped to the related Mathematica one? Corrected ones,zeros Jul23 comment Is there a list of Octave functions mapped to the related Mathematica one? @Mr.Wizard Will do, I just wasn't sure what you'd want to do with solution 3 :) Anyway, I agree that it is probably really hard to maintain this list in a sensible way. MATLAB is heavily overloaded and Mathematica is too.