First  |  Prev |  Next  |  Last
Pages: 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
How to write reports and books in Mathematica
I am the not quote happy owner of Mathematica Teacher's Edition [it doesn't work on Snow Leopard] and I do now see a future need to write reports / books using Mathematica - though of course I would then have to purchase a new version like Mathematica Home Edition at =A3195. I do know that all of the Mathematica ... 16 May 2010 07:00
How to Explain This Behavior of Simple Procedures?
I think the scanty procedures below show unexpected, perhaps buggy, behavior. These two procedures work as expected: f assigns a value to a variable passed in by g: *Input:* ClearAll [f, g]; f [lhs_, rhs_] := lhs = rhs; g[rhs_] := Module[{localVar}, f [localVar, rhs]; Print["g: localVar=", localVar... 11 May 2010 06:45
Variables in Iterator limits?
If I execute the following lines, I get the graphic that I want: x; Remove["Global`*"]; lines := Graphics[ Table[ Line[{{k 10/kmax,-1}, {k 10/kmax,1}}], {k,1,kmax}]] km = 30; Show[lines] If I execute the following lines, I get exactly the same graphic, all OK... 11 May 2010 06:45
labels in GraphicsGrid[]
hi group, due to my total clumsiness in grasping Mathematica's graphical interface, I'm here as usual to ask for a little help. I have a 2x2 grid, where each "cell" contains in turn a subgrid of images (displayed by Partition). The simple question is - how do I label the 4 main cells? I tried to embed Text[] in... 7 May 2010 06:42
matrix equation
Hi & thanks. Here is my problem: Similarity matrix equation: A . B == == B . C If I have A and C, how do I determine B? I've looked at Solve and eigenvalues, etc. and have limited success with Solve (can accurately get a several of the matrix element, but not all. Eg seems I can get sort... 8 May 2010 07:55
HoldFirst, Unevaluated
Here, the second execution of f fails because variable 'a' evaluates to Pi and can't be reassigned: ClearAll[f, a, b, c] f[x_, y_, z_] := x = Pi; 3 y + 2 z f[a, b, c] f[a, b, c] I have come to understand that the canonical approach to control this is to assign the HoldFirst attribute to f: ClearAll[f, a, ... 8 May 2010 07:55
PDE coupling boundary problem
Hi all, I'm facing an uneasy problem while implementing a Green Roof Simulation Model, in which temperature at the interface of soil matrix and roof is hard to handle. According to my model, during the process of water transfer, the gradient of water content at the interface of soil matrix and roof would be the... 11 May 2010 06:45
2D phase unwrapping
Hallo, Looking for Mathematica code for phase unwrapping I found the following 1-dimensional phase unwrappers: from http://documents.wolfram.com/applications/signals/CepstralAnalysis.html : unwrapphase[data_?VectorQ,tol_:Pi,inc_:2 Pi]:=data+inc FoldList[Plus,0,Sign[Chop[Apply[Subtract,Partition[data,2,1],{... 7 May 2010 06:42
Easy question, please help to run a function n times
I am trying to run the function t= M/(R/n), where R is a random number generated between 15 and 25. What function do i use to run this simulation 10,000 times and calculate the mean and std error from 306. This is what i have so far M=74 n=88 No=306 R= RandomReal[{15,23}] t= M/(R/n) t = x; Do[t = M/(R/n), {10... 9 May 2010 08:53
Giving several functions the same argument
Hi Mathgroup, I have a list of pure functions, which I wish to apply to the same argument. I can't seem to be able to thread the list of functions over the argument in a simple way, all the commands like Apply and Map etc take a single function. I can do it using Table and Part, but it seemed like there shou... 8 May 2010 07:55
First  |  Prev |  Next  |  Last
Pages: 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64