Skip to main content

Timeline for Catalan Numbers

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Dec 9, 2015 at 23:19 comment added beaker @costrom That's interesting. I guess .../++n doesn't work either. :/
Dec 9, 2015 at 22:09 comment added costrom @beaker thanks for the tip! it only works in Octave though, not Matlab, so I've split it apart
Dec 9, 2015 at 22:08 history edited costrom CC BY-SA 3.0
Split into Maltab and Octave with increment operator
Dec 9, 2015 at 21:55 comment added beaker You can knock off 2 more bytes by post-incrementing n: @(n)nchoosek(2*n,n++)/n
Dec 9, 2015 at 17:48 history edited costrom CC BY-SA 3.0
converted to anonymous function
Dec 9, 2015 at 17:47 comment added costrom I've seen several answers on here before that had workspace variables being accessed (implying they had already been set by the user elsewhere). Scripts in MATLAB/Octave also can appear as simple snippets. I've re-made it into a function for now...
Dec 9, 2015 at 17:47 comment added FryAmTheEggman You can use @(n) instead of function, anonymous functions are ok.
Dec 9, 2015 at 17:46 history edited costrom CC BY-SA 3.0
converted to function
Dec 9, 2015 at 17:44 history answered costrom CC BY-SA 3.0