Bare Bones Backup Button An exchange reported in between DrMajorBob and Selwyn Hollis culminated, in essence, in the code below for creating a saveable palette with a button to back up the InputNotebook. If the target directory for the backup (fixed in the code that creates the palette) already exists, then each time I click the butt... 13 Aug 2010 07:02
Mathematica- Use a previous equation into the function Function Dear All, I am fairly new to mathematica. I am stuck with a problem I cannot solve. I would like to call a previous equation into the function Function. If a type directly the expression or copy paste it, it works. However, when I call the expression by its name it does not. Here is the code for a more precise expl... 4 Aug 2010 05:59
CounterBox[] & CounterFunction[] & DingBat I want to get a label like "B.i" for a cell. It seems I can only get "ii.i" or "B.A." That is, I cannot mix CounterFunction[] types. I didn't find much in the documentation on this. Anyone know how to do it? Here is an example of the cell expression: Cell[TextData[StyleBox["Instantaneous Drag Force", FontSlan... 2 Aug 2010 08:07
A question about string patterns Dear Group I'm kind of starting with string patterns with Mathematica and would like to make sense of some questions. I was sorting out a string matching problem in Vim where I needed to find all strings not enclosed by double quotes (\"). To do this a regular expression with look-behind seems to be essential.... 1 Aug 2010 05:08
MinCut crashes the Mathematica kernel Whenever I call the MinCut function the Mathematica (7.0.1) kernel dies. Even with trivial examples like: MinCut[{1 -> 2}, 2] Does everyone else observe this? -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com ... 4 Aug 2010 05:59
classroom combinatorics My wife, who is a business professor, asked me an interesting question today. She has 28 students in her class and wants them to meet in groups four, once each class session, such that every student gets at least one chance to work with every other student in a minimum number of class sessions. For instance, if... 7 Aug 2010 01:49
graphics3d listanimate Hi, Can one use ListAnimate with Graphics3D primitives? I have two lines created by a = Graphics3D[Line[{{0, 0, 0}, {0, 1, 0}}]]; b = Graphics3D[Line[{{1, 0, 0}, {1, 1, 0}}]]; and the following ListAnimate[{a,b}] doesn't show an animated sequence of two line alternating. Any suggestion is apprecia... 3 Aug 2010 07:03
Combinatorica, TransitiveClosure Do I see well that both solutions are wrong? << Combinatorica` ToAdjacencyMatrix[ TransitiveClosure[ FromOrderedPairs[{{1, 2}, {2, 3}, {3, 1}}]]] // MatrixForm {{1, 2, 2}, {0, 1, 2}, {0, 0, 1}} ToOrderedPairs[ TransitiveClosure[FromOrderedPairs[{{1, 2}, {2, 3}, {3, 1}}]]] {{1, 1}, {1, 2}, {1, 3}... 31 Jul 2010 03:14
ODE solution transfer Moin, for the following sample ODE with the variables a[t] and b[t] deqns={a'[t]== -k*a[t], a[0]==2, b'[t]== k*a[t], b[0]==0}; k=0.08; start=0;end=10; the lists vars = {a[t],b[t]} and fvars = {a[t_],b[t_]} are declared. Doing: {a[t_],b[t_]}=vars/.NDSolve[deqns,var... 3 Aug 2010 07:03
How export/recompile expressions and calculation code to run Hi, We have some Mathematica program (with Mathematica-based GUI) and we need to sell it to customers. We would like to make our program independent of Mathematica (on running time). if you have everything including a GUI ready, isn't the Player Pro a reasonable alternative? You would just have to c... 1 Aug 2010 05:08 |