34,082 reputation
547141
bio website
location
age
visits member for 2 years
seen 2 hours ago

Apr
11
comment Generate array of every $n^{th}$ integer between two bounds
Array does not take an iteration variable. Use it like Array[1926 + 4 # &, 22] or alternatively use Table[1926 + 4 m, {m, 22}]
Apr
11
answered Programming paradigm change
Apr
10
answered How to solve correctly inside a DO loop and then plot
Apr
10
comment How to solve correctly inside a DO loop and then plot
Why not use ContourPlot[V[x, 0, z0] == E0, {x, -2, 2}, {z0, 0, 0.6}]
Apr
10
answered How to show many data lines with MAnipulate?
Apr
10
awarded  Nice Answer
Apr
9
comment Capture an image by non-default device
Does Block[{$DefaultImagingDevice = $ImagingDevices[[x]]]}, code here] work? Sorry, got no imaging devices to test with.
Apr
9
revised Data acquisition from a Measurement Computing USB device
added 3 characters in body
Apr
9
comment Import and Extract Frames from Video files in Mathematica
Import can import .avi and .mov video files. Note that it relies on Apple QuickTime for decoding, so if you don't have QuickTime installed you are restricted to uncompressed avi. I generally use a third party application to extract frames from the video and just import the image files into Mathematica. These questions might be of interest: mathematica.stackexchange.com/q/161/862 and mathematica.stackexchange.com/q/18335/862
Apr
9
awarded  Nice Answer
Apr
9
comment How to export 3D plot, without losing the specified view of rotation?
You have two good answers so I'll just comment to emphasise that % does not refer to the contents of the last output cell, it refers to the last output expression from the kernel. Nothing you do to the output cell changes the expression stored in %, whether it's rotating the graphics or even deleting it entirely and replacing it with a photo of your cat.
Apr
9
comment Open an MX file used by the kernel
Why is this tagged wolfram-alpha-queries ?
Apr
9
comment Open an MX file used by the kernel
@DuralAkata, you asked a question about an error message when opening .mx files. Yves has answered that question. If you have a new question please use the "Ask Question" button to start a new one.
Apr
9
comment Line Intensity Profile From Image
Nice idea. I wouldn't have thought to use ImageTransformation for this.
Apr
8
comment Problems using hand-made transformation functions
I appreciate that gamma functions are just an example here, but as a point of interest there is also Developer`GammaSimplify which will attempt to reduce the number of gamma functions even if the resulting expression is more complex, e.g. Developer`GammaSimplify[Gamma[z+4]/Gamma[z]]
Apr
8
comment Entering a system of differential equations
Works fine here (version 9)
Apr
8
comment Missing V9 Menu: File -> New -> FreeCDF
I think the CDF option was there in version 8 but it seems to have been removed in v9.
Apr
7
comment Nested for loop in mathematica
While it's great that you didn't dump a block of unreadable code, you should try to use proper Mathematica syntax in your examples. You've used == instead of = in the first argument of For, and you appear to be using the wrong brackets () in places, though it's hard to tell what the real intention was.
Apr
4
comment Caching RecursionLimit::reclim error
When a message is generated inside a nest of Check expressions, every one of those Checks evaluates its fail expression. The inner Check doesn't "absorb" the message if you see what I mean. So in your code when a exceeds 100 you stop creating recursions with your If statement, but this happens inside a nest of ~1000 Check expressions. Therefore a gets incremented a further 1000 times as the message propagates outwards, triggering every Check to evaluate a+=1. For a simpler example define f := Check[f, i++] then evaluate i=1; f
Apr
4
revised Social Network Analysis - Get the End Points of an Edge
added 480 characters in body