0
votes
0answers
29 views

How to fit the data comes from the table into a function of x so that I can plot Two functions using TWO Y aix in one figure

I plot data results from the package GWR to find the invers function of Laplace transformed fn. How can I fit this data into a function so that I can plot it in using TWO Y- ...
1
vote
1answer
37 views

How can I change the autonumbering criterion?

In a notebook I have three cells whose format is DisplayFormulaNumbered: a=1 b=2 c=3 and in a text cell I refer to them respectively as (1) (2) (3), where (1) ...
0
votes
0answers
43 views

Personal Reminder with Speak capability repeats multiple times

I am trying to create a personal reminder for myself using the Speak function in Mathematica hoping that the computer speaks the task only once at the designated time. However, I have found that the ...
0
votes
1answer
36 views
1
vote
0answers
42 views

ArXiv queries not working with ServiceConnect [on hold]

Support for interactive with ArXiv's apis was added in 10.2, but now as of 10.3.1 the most basic example in the documentation seems to fail: Is this a known issue/bug, or am I doing it wrong?
0
votes
0answers
42 views
0
votes
0answers
30 views

Group nth Subelement of Nested List [on hold]

I'm trying to group the nth subelements of a nested list together. The input would look something like in={ {a,b,c,d}, {e,f,g,h}, {i,j,k,l} } and the ...
2
votes
0answers
42 views

Transposing a table [closed]

I created this table so that it is a collection of 5 different functions that I need. It outputs the values that I want, however, I cannot figure out how to get the orientation right. I would like to ...
0
votes
0answers
73 views

How to take a count of polygons? [on hold]

I have the following polygon values: ...
2
votes
1answer
96 views

Find a family of curves

I have a diagram with seven curves (each with a different parameter). My goal is to find a function for the family of curves (i.e. a single function not just for the seven parameters, but for all ...
1
vote
2answers
44 views

Create an indexed list of functions [duplicate]

I am trying to use a Table to create the following object: {f[#,1]&,f[#,2],f[#,3]} The obvious doesn't work, ...
0
votes
1answer
50 views

Finding a vector many times

I have a vector matrix of profits say prof= {{1, 1, 1, 1, 1}, {2, 2, 2, 2, 2}, {3, 3, 3, 3, 3}, {4, 4, 4, 4, 4}, {5, 5, 5, 5, 5}}; I have a "terminal value ...
3
votes
2answers
66 views

Table of Buttons [duplicate]

What's the correct way to form a table of buttons in which each action depends on the index in the table? E.g., I want to get {Button[1,f[1]],Button[2,f[2]]} ...
1
vote
1answer
28 views

How to create sublists of consecutive elements? [duplicate]

I have a list of elements, for example: myList={5, 12, 16, 18, 19, 24, 28, 29, 31, 32, 35, 42, 43, 47, 50, 53, 60, 61, 62, 64, 79, 82, 84, 92, 105, 128, 136, 153, 154, 155, 156, 158, 159, 160, 164} ...
3
votes
1answer
29 views

While loop repeats itself using initialization cell

I am running While loops in an initialization cell for the purpose of submitting the notebook to the online cluster. However it appears to me that the While loop in an initialization cell would run ...
0
votes
1answer
96 views

How can we draw a stencil for discretization of PDEs?

How can we draw some multi-node (e.g. 5-node, 9-node, etc.) stencils that occur in the process of discretization of PDEs, such as the following ones? or As a matter of fact, I would like to ...
0
votes
0answers
62 views

How to evaluate this integral with a bessel function

I have to evaluate this integral, Sin[θ] 2 π BesselJ[0, k Sin[θ] (μ[j] - μ[i])] Exp[2 k^2 σ^2 Cos[θ]^2], wrt $\theta$ between the interval [0, $\pi$]. The ...
-2
votes
1answer
72 views

monochromatic and mesh style of 3d plotting

how to adjust the mesh and monochromatic plot to be same as this
3
votes
0answers
122 views

Strange behaviour of NotElement in Reduce

I have observed curious behaviour on domains supplied to NotElement and Reduce and domain of an argument in calculation inside ...
-4
votes
0answers
59 views

How can I graph this using Mathematica [closed]

How can I graph the equation $x^2+y^2\le9$ and rotate it about the x=5 axis. This should make a Torus. The problem is that when I use RevolutionPlot3D it returns a sphere. I just can't get it to ...
1
vote
1answer
324 views

How to make a contour shading like this

How can I adjust the contour shading to appear like below?
5
votes
4answers
436 views

Entropy[…] doesn't calculate the entropy of a probability distribution? What does it do?

I know the definition of entropy of a probability distribution: $$H = - \sum_i p_i \log p_i $$ So for example, in a Bernoulli distribution with $p = 0.2$, $1-p=0.8$, the entropy is $0.5$. However, ...
-1
votes
0answers
22 views

non negative matrix factorisation [closed]

i am working on a project involving the use of non negative matrix (NMF) for the separation of a mixture of audio signals.can please give me the mathematical explanation of NMF so that i can ...
9
votes
1answer
120 views

Maximizing a recursive functional equation

I would like to maximize a recursive functional equation but I am struggling with setting up the problem correctly. The equation I am interested in captures the nature of a decision process over time ...
2
votes
2answers
56 views

Multiple functions with shared arguments in Manipulate

I am trying to define multiple functions with the same set of parameters and then put them in a Manipulate to simulate their behavior. Ideally it should be something like that: ...
0
votes
0answers
43 views

Diagnosing NDSolve misbehavior [closed]

I'm solving a simple first-order ODE depending on a parameter $\alpha$. I want to package the family of solutions $x(t)$ for each $\alpha$ into single function of two variables $x(t,\alpha)$, and to ...
3
votes
1answer
30 views

keyboard shortcut to invoke Insert new matrix

I frequently need to type in some matrices, and the menu command Insert>Table/Matrix>New... ...
-1
votes
4answers
129 views

Import vs ReadList CSV file with Currency Values

A testing file with the specified format can be downloaded from here Let's read a few lines from this file ...
0
votes
1answer
56 views

ParametricPlot3D crashes Kernel when called repeatedly in loop

I have a parametric function surf[u,v]. It can be plotted successfully like this: ...
1
vote
1answer
69 views

Rasterize and Graphics, size difference

I am writing my own TreeForm function and for this I want to make sure that framed text boxes in Graphics do not overlap. First, ...
9
votes
4answers
164 views

Evaluation of Alternatives

I recently stumbled upon a few examples that suggest patterns containing Alternatives do not evaluate for individual alternatives. For example: ...
-1
votes
0answers
22 views

Distance between a circle and a line [migrated]

Find the distance between the circle $(x-3)^2+(y+2)^2=4$ and the line $x + 2y = 9$.
-3
votes
0answers
34 views

Integration by using parameter k [duplicate]

I want to calculate the following code by using parameter k. But, the following code provide me no solution. ...
0
votes
1answer
44 views

How to apply a user-defined function to a list [closed]

I'm using Wolfram | Alpha Pro; I have a function f[n] = 351n^(-0.7); How do I apply it to each element of a list like {2, 9, 22}? f/@{2, 9, 22} just results in ...
6
votes
2answers
117 views

Getting an explicit representation of the function returned from Interpolation [duplicate]

I am using Interpolation to get an InterpolatingFunction that fits a set of points. For example, ...
2
votes
1answer
91 views

Issue with NSolve for solving six equation and six unkown [on hold]

I am trying to solve the following six equations and six unknown but It takes me one hour then the program stops. Would you please give some help. I am a beginner. $eqe1=0.000466667 \left(A_2 \cosh ...
0
votes
1answer
47 views

Plotting Multiple Curves? Options Issue [closed]

I am trying to plot two curves on the same graph, but I receive the error: Options expected (instead of {x,-8,8}) beyond position 2 in Plot[(2 [Pi])/x,2 Cos[1/2] ...
0
votes
1answer
49 views

Different Results from Simplify, dependent on explicit vs computed rules

Can anybody explain why these two pieces of code are giving me different results? Heres the inputs: ...
0
votes
1answer
56 views

How to calculate the derivative at a point of a non-integrable multivariable function?

I want to integrate this function with respect to θ1 and then take the derivative of that function with respect to n. Since the ...
-1
votes
0answers
43 views

How to calculate the value of financial derivatives [closed]

I want to loop through all of the put and calls available for each of the derivative types as listed by calling: FinancialDerivative[] I need to eliminate the ...
5
votes
3answers
139 views

How to tell Mathematica to get the real-only inverse function?

The problem I have is that Mathematica seems to play better with complex numbers so that the result of N[InverseFunction[Function[x,x^3]][-1]] is ...
0
votes
1answer
59 views

Discrete Fourier Transform: help on how to convert x axis in to the frequency when I have a set of data samples [duplicate]

I have a huge data set (400000 sample) and when I plot them ListLinePlot[Au4, PlotRange -> {All, All}] I used the following code to Fourier transform it ...
1
vote
1answer
36 views

Uploading an image to a CloudDeploy Wolfram Language web app

I want to do image processing using the Wolfram Language on a web app hosted on the Wolfram Cloud. The user must be able to upload a PNG image to the Wolfram Cloud, how can I set this up? I've ...
5
votes
1answer
134 views

How does Mathematica detect the number of cores in a system?

I'm running Mathematica 10.3.1.0 on a machine with 16 cores, but Mathematica (in the Parallel settings) says "Number of processor cores is 8." It's a 16-core Opteron 6300 chip on an Ubuntu system. All ...
2
votes
1answer
96 views
3
votes
1answer
95 views

Solve a nonlinear PDE equation with a Neumann boundary condition

I am trying to use Mathematica 10 to solve a PDE $$u_t=u_{xx}+u_{yy}+u(1-u),$$ in the unit disk $(x,y) \in D=\{(x,y):x^2+y^2<1\}$, with the Neumann boundary condtion $$\frac{\partial u}{\partial ...
-1
votes
0answers
22 views

How to find the real values of the parameter a, so that the inequation doesn't have positive solutions? [migrated]

The inequation is the following: (x^2 - 6ax + 2x - 5a - 1) / (x+a+1) < 0 If we write this inequation like a/b <0, I may say that for a=0, I found that X1=3a -1-sqrt(9a^2-a+2) X2=3a ...
4
votes
1answer
109 views

Error given by the Clear function

I'm trying to clear out some variables that I've previously used, so that I can use them again. I tried this in a different notebook and it worked, however, now, a command like : ...

15 30 50 per page