Reputation
1,633
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 18
Newest
 Nice Answer
Impact
~14k people reached

Jul
27
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?
Jul
26
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 :)
Jul
25
awarded  Nice Question
Jul
23
revised Is there a list of Octave functions mapped to the related Mathematica one?
Corrected ones,zeros
Jul
23
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.
Jul
23
comment Is there a list of Octave functions mapped to the related Mathematica one?
@Mr.Wizard I just realized that your first example is not correct (so is the zeros one): ones(n) creates a n-by-n matrix of 1s! The equivalent to your commands is ones(1,n) or ones(n,1) depending on the interpretation.
Jul
23
comment Automatically growing lists as in MATLAB?
Sorry if the following is obvious to you (also, it's a bit off-topic): This is bad practice in MATLAB and in a direct translation also in Mathematica, as in this way new memory needs to be allocated every time you add an element and this takes a lot of time. Better preallocate by x=zeros(1,n). (Of course this doesn't matter much if you do it only once in the whole program.)
Jul
22
comment Is there a list of Octave functions mapped to the related Mathematica one?
@Mr.Wizard Oh, I just found this on Wikipedia: "In fact, Octave treats incompatibility with MATLAB as a bug [...]". I think we are safe :)
Jul
22
revised Is there a list of Octave functions mapped to the related Mathematica one?
edited body
Jul
22
revised Is there a list of Octave functions mapped to the related Mathematica one?
added eye
Jul
22
comment Is there a list of Octave functions mapped to the related Mathematica one?
@Mr.Wizard Maybe we should make it Octave/Matlab. I think the function names are mostly the same anyway but I'm not 100% sure and couldn't find anything relevant right now. So I guess, if the functions have different names, just name both. What do you think?
Jul
21
comment Why do quote marks appear in output when saved with Save Selection As?
Here is my summary: First of all, I do not get any quotes when exporting to pdf. I do get quotes if I select the cell contents and use Save Selection As.. to save to png. I do not get quotes if I either select the whole cell to Save Selection As png or use Export["quotes.png", CharacterRange["a", "z"]].
Jul
21
comment What's the difference between Inactive and HoldForm?
@YiWang Oops, good point :) I didn't think of HoldForm because I never use it. The real point is probably in a more elaborate example (see edit). Now I'm crossing my fingers that I didn't overlook something else...
Jul
21
revised What's the difference between Inactive and HoldForm?
added 37 characters in body
Jul
21
answered What's the difference between Inactive and HoldForm?
Jul
21
comment Anti-aliasing not working in Mathematica 10 and Linux
I have the same behavior (i.e. no visible change) under also under Linux with a NVidia card.
Jul
21
comment Why do quote marks appear in output when saved with Save Selection As?
@Mr.Wizard Funny, I can't reproduce the behavior you described under Linux. I think the option mentioned by Carlo is under FormattingOptions>ExpressionFormatting>DisplayOptions. For me it does not change the behavior of the string export, however.
Jul
19
awarded  Excavator
Jul
19
revised Solve matrix equation A*X=X*B using LeastSquares
Fixed formatting and some grammar
Jul
19
suggested approved edit on Solve matrix equation A*X=X*B using LeastSquares