Random`DistributionVector i have a numerical pdf of variable dem and parameters z and s: pdfconv[dem, z, s] I want to draw random real number from it. The mathematica helps talks about Random`DistributionVector but i cant understand how to do. I'd like to define my distribution distconv[z,s] so that i can use it in this command: RandomR... 22 Mar 2010 08:15
Sorting nested lists I have a list of x, y, z triples in the form: {{350.17,-43.6426,1768. 77},{350.17,-43.5582,1259.67},{350.17,-43.5308,967.89},{350.17,-43.5839,1689.8},{350.17,-43.6445,1753.05},{350.17,-43.6114,2021.65},{350.17,-43.5327,977.36},{350.17,-43.5601,1289.87},{350.17,-43.5858,1720.39},{350.17,-43.6464,1736.25}} How do I so... 21 Mar 2010 03:49
solving equations Hi; I want to solve an equation system saved in the file named "equations.txt". My aim is to obtain the expression of source.outputP.TP in terms of the variables: channel.TP, consumer.TP and producer.TP This file "equations.txt" contains the following equations: source.outputP.TP==upstream.sourceR.TP upst... 23 Mar 2010 05:37
Possible bug: Integrate[(u - t)*BesselY[0, 2*t], {t, 0, u}] Consider the following symbolic expression, evaluated with Mathematica 7: Integrate[(u - t)*BesselY[0, 2*t], {t, 0, u}] I am seeing a behavior where the symbolic results of this integration are different depending on the name of the symbol 'u'. In particular, if I use something that precedes 't' in the alphabet,... 18 Mar 2010 05:56
How to set $UserBaseDirectory in the Workbench? Hello, in Windows, the location of $UserBaseDirectory can be specified by the Windows MATHEMATICA_USERBASE environment variable. This works for Mathematica, but not for the Wolfram Workbench: Deploying an application in the Workbench lets you set a checkmark $UserBaseDirectory. However, whatever the setting of ... 18 Mar 2010 05:55
Import html Hi there, I use Import to parse the hyperlinks of many similar html pages without any problem, but for few pages (as for the example in the subject) it fails. More in detail, here the example with the result: In[1]:= Import["http://www.paginegialle.it/ascensoriromamir.a.m", "Hyperlinks"] Read::readt: Invalid ... 19 Mar 2010 08:10
How to extract the x-axis and y-axis current ticks of a plot from On Mar 16, 4:47 am, "Nasser M. Abbasi" <n...(a)12000.org> wrote: Version 7: Many times I find I need to change the Plot Ticks (mostly to make the ticks display in units of Pi for example instead of just in pure real numbers). The only way I know how to do this now is this: I build my own Ticks lis... 17 Mar 2010 06:52
Relation Problem in Mathematica Hello - I was wondering if somebody could help me with this problem. I have the set X = {1,2,3,4}, and have computed the Cartesian Product X^2. Let R = {(1,2),(2,3),(3,4),(4,1)} S = {(2,1),(3,2),(4,3),(1,4)} be relations on X. I want to compute the product S o R = {(x,y) in X^2: there exists one z in X (f... 18 Mar 2010 05:56
Bug in NMinimize? I am sorry to let you know that NMinimize[{1, x + y >= 1, 2 x + 2 y <= 0, Element[x, Integers]}, {x, y}] does give a result: {1., {x -> 1, y -> 0.}} Any commands or advice? Thank you, J=E1nos ... 19 Mar 2010 03:48
InterpolatingFunction and NIntegrate Hi, sorry for posting a similar question to my last one on such after such little time. This is due to the problem being a little bit different now. Last time I tried using Integrate, this time I am going with NIntegrate. The problem now is that using NIntegrate with the InterpolatingFunction works, but when f... 19 Mar 2010 03:48 |