-1
votes
1answer
57 views

Taking the third derivative of: $f = (ln (x) + e^{4 (x - 1)})^{15}$? [closed]

I am VERY new to Mathematica and struggle to solve this question: Let $f = (ln (x) + e^{4 (x - 1)})^{15}$ and calculate what value $f^{(3)}(1)$ have. How would you go about to solve this in ...
3
votes
1answer
125 views

How can I pick a color from a ColorMap and colorize selected image pixels with this color

I have a binarized image and would like to set pixel values which are 1 to a certain (any) color picked from ColorData["TemperatureMap"] and 0 to another color of TemperatureMap. How can I do that? ...
2
votes
1answer
98 views

Request for Explanation in case of Replacement not working

The 2 code snippets work on a matrix ABg with 22 rows and two columns containing Strings. Some entries in column 2 are List { } to be recognized by the first Character "{". In the list some items must ...
2
votes
0answers
77 views

Copula - Correlation or Covariance

Can someone explain to me why the CopulaDistribution function with a "Multinormal" kernal asks for the covariance matrix instead of the correlation matrix. Just by looking at the formula for copula, ...
1
vote
2answers
65 views

Infinite sums with Boole and EvenQ

Suppose I am interested in a sum across a set of even numbers, such as: Sum[x, {x, 2, 20, 2}] 110 or ...
0
votes
0answers
25 views

Graphing all connected, planar, and vertex transitive graphs with vertices <=10 and edges <=15

I just started using Mathematica, how would I graph all possible connected, planar, and vertex transitive graphs with vertices <=10 and edges <=15
1
vote
1answer
23 views

Rescale::nargs: error, what can be the cause [closed]

I was trying the code given in the answer to this question What are the possible ways of visualizing a 4D function in Mathematica? but in V 10.01, on windows, it now gives an error ...
2
votes
1answer
77 views

Mathematica displays the unevaluated expression Expectation function

The evaluation runs for a few seconds and then Mathematica displays the unevaluated expression Expectation function ...
2
votes
2answers
90 views

Projection of ListPointPlot3D on 2 axes

I am just starting to learn Mathematica and I was trying to get projection of the list of points in ListPointPlot3D. I read about ViewPoint option. It shows the axes I need but doesn't show the points ...
1
vote
1answer
44 views

converting miles into inches from wolframalpha

I was creating a simple quiz. I noticed that wolframalpha converts 0.25 miles into 15800 inches while google converts it into 15840 inches. Is it a bug or did I make some miscalculation?
1
vote
1answer
33 views

Specifying that hierarchical probability distribution conditional on independent random parameters

I would like to create a ParameterMixtureDistribution to model the following: $X \sim $ Binomial($N,P$) $N \sim \mathrm{Poisson}(\lambda) \perp P \sim ...
1
vote
0answers
32 views

Building a ComplexityFunction based on the size of the expression output

I am experimenting with the ComplexityFunction of Simplify and came up with this one: ComplexityFunction->Function[e,Rasterize[HoldForm[e],"BoundingBox"][[1]]] ...
1
vote
1answer
32 views

A While loop where the loop clause can receive problematic input

Consider the following highly artificial example: ...
2
votes
0answers
89 views

Mathematica 10 and Mac [closed]

This might be a the wrong place to post the question, but I am sure that there would be few places where I would find people who would know more about how mathematica works. I am looking to buy a new ...
0
votes
1answer
61 views

presentation of 3D image only

For viewing or discussion is it possible to display a mouse rotatable ParametricPlot3D or Manipulate holding back Mathematica code lines in a slideshow for example?
3
votes
2answers
65 views

How to make overlapped part to be transparent?

I want to ask is it possible to make the overlapped part to be transparent in Graphics3D. ...
6
votes
1answer
250 views

How to add texture to a parametric plot?

I need to put some simple textures to some parametric plots. My textures are not complicated, They are like the first example in here. Is there any simple way of doing this? For example, How can I ...
1
vote
1answer
105 views

Mysterious behaviour of Plot

I'm a little mystified as to the behaviour of Plot. In one case below I am directly executing on a list element. In the other I am (I think) doing exactly the same thing. ...
3
votes
1answer
153 views

How do you make a 3D city population graphic?

I want to make a graphic that has the shape of a country, finds all the cities of that country, gets their coordinates and populations and turns that into a SmoothHistogram3D with the population being ...
5
votes
1answer
105 views

CDF plugin no longer launches in Chrome

I exported a web-embeddable CDF, and created an html page with the automatically generated code. Both are in a local folder. When I open the HTML page in a Chrome browser, i get the PNG image telling ...
0
votes
0answers
44 views

Two installations of MMA 10.0.1.0 differ in behavior

I'm seeking advice on how to track down what might cause the following difference in behavior. I have two independent installations of MMA 10.0.1.0, both on Mac OS X Mavericks on identical x86 Mac ...
2
votes
1answer
37 views

VertexConnectivity and FindVertexCut disagree [duplicate]

I'm trying to use Mathematica to compute the minimal vertex cut for graphs. From what I understood, VertexConnectivity of a graph should correspond to the number of vertices in the minimal vertex cut. ...
1
vote
1answer
19 views

NIntegrate is it possible to evaluate the integral using a user-defined grid?

I am using the NIntegrate function and I would like Mathematica to perform the integration in accordance with a grid I define that is sampled uniformly between the boundaries of integration. Let me ...
1
vote
1answer
44 views

How to make a LogLinearPlot out of an Histogram?

I want to make a histogram with a logarithmic x-axis, like the one produced by LogLinearPlot. How can I do this?
2
votes
1answer
54 views

How do you get a country's GDP per capita in Euros?

Right now, I'm getting the data in U.S. Dollars and converting it to Euros like this: ...
0
votes
0answers
44 views

Optimiazation method L-BFGS-B

I am comparing a result of optimization using R and Mathematica. Mathematica (NMaximize) has found a significantly better (global optimum) result then R (using ...
1
vote
1answer
63 views

Conversion of Sine to Cosine

I'm solving equations with many Cosines and Sines. And I want to convert all the Sines to Cosines using trigonometric formulas such as cos(x)=sin(x+pi/2). How can I do this?
2
votes
3answers
119 views

How to find the kth largest eigenvalue of a matrix, taking into account the sign? [duplicate]

I have a real symmetric matrix m (i.e. its eigenvalues are all real). Eigenvalues[m, {k}] will find the ...
2
votes
2answers
94 views

DictionaryLoopkup - pattern specification

I would like to find all Italian words that have a specific pattern of letter repetitions. Actually I'm looking for 6-letters words that have 1 letter repeated 3 times, a second letter repeated two ...
0
votes
0answers
32 views

Transfer Functions - Time Series depends on a second one

Suppose two time series ...
3
votes
3answers
99 views

Rearranging a Dataset

When processing a larger Dataset I came up do a point where I want to form a dataset with culumn heads from an intermediate structure. Here is an example of this structure: ...
2
votes
1answer
49 views

Vertex Names as Labels in GraphPlots

I'm trying to use GraphPlot to draw a Graph which is constructed from an adjacency matrix and am having trouble with the labels in the plot. I am doing (data is a silly example) the following: ...
-1
votes
0answers
63 views
0
votes
0answers
43 views

when DSolve fails

I am doing this mathematical problem $c*G_{vv}+ d*G_{u} + e*G_{v} +f*G=0$, where $c, d, e$ and $f$- are constant coefficients. I already know that this is second order PDE and we classify it by ...
0
votes
0answers
130 views

Time-dependent mesh deformation

I want to display the result of a deformation with a mesh, but I solved the deformation with a time dependency. So I have two functions: uxsol[t,x,y] and ...
1
vote
1answer
51 views

Evaluating the real part of an expression

I want to get the Real part of this expression - shouldn't be too hard to evaluate. Why is Mathematica not evaluating but returning the same code? ...
0
votes
1answer
22 views

Error with numerical summation - how to specify “n choose r”?

I'm trying to do the following sum: NSum[((50000 - x) choose x)*(1/3^15)^x*((3^15 - x)/3^15)^(50000 - x), {x, 1, 4}] But I keep getting an error saying: ...
2
votes
3answers
121 views

Transform an InterpolatingFunction

I'd like to transform an InterpolatingFunction from NDSolve but can't figure out how. Here's an example. The equation I want to solve is ...
1
vote
1answer
88 views

strictly positive solution to $Ax=b$

How to find in mathematica one real strictly positive solution, if any, of $Ax=b$. A is rectangular matrix. Thanks
1
vote
1answer
81 views

Simple optimization 3D plot

Because this is such a simple example I am not going to explain the calculations. I am strictly wondering why I do get errors when plotting it. ...
1
vote
1answer
53 views

How to get the content size (in pixels) of the output in an output cell?

How to get the content size (in pixels, width and height) of the output in an output cell?
1
vote
2answers
81 views

Strange behaviour of TableForm

...
1
vote
1answer
48 views
5
votes
1answer
87 views

Unexpected result from StringReplace

The following works as expected. StringReplace["xxxyxz", "x" ~~ _ -> "ww"] "wwwwww" And so does this. ...
-4
votes
0answers
29 views

Picard iteration method by yn(t) [on hold]

I am really bad with Mathematica, but I have an assignment due in my Real Analysis class that requires it. Here is the question: Denote successive approximations via the Picard iteration method ...
1
vote
0answers
40 views

Creating a List with Lists as entries [closed]

I'm trying to create a list A which contains 8 same elements. Each of the elements look like {0, 0, 0, 0}. I was able to do it ...
1
vote
3answers
59 views

Defining a function using a preceding expression

How can I automatically define a function inside my Mathematica code using a result (expression) that preceded the point of definition. For example: ...
1
vote
3answers
46 views

While subpartitioning the elements in list using GatherBy, can I corresponding subpartition the elements of an unrelated list?

If we have a list like the following: list1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; And we use GatherBy to subpartition is according to a test function ...
1
vote
1answer
99 views

3d phase portrait for a system of DEs

I'm trying to plot a phase portrait for a system of three differential equations so could anybody help? example for : ...
1
vote
2answers
36 views

Subpartitioning elements of a list based on some h[ri] == h[rj] test

If we have a list of elements: list = {r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12}; I'd like to further partition the elements into sets where, for some ...

15 30 50 per page