# All Questions

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- ...
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) ...
62 views

...
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 ...
36 views

...
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?
42 views

...
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 ...
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 ...
73 views

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

I have the following polygon values: ...
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 ...
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, ...
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 ...
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]]} ...
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} ...
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 ...
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 ...
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 ...
72 views

### monochromatic and mesh style of 3d plotting

how to adjust the mesh and monochromatic plot to be same as this
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 ...
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 ...
324 views

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, ...
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 ...
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 ...
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: ...
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 ...
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... ...
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 ...
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: ...
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, ...
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: ...
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$.
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. ...
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 ...
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, ...
91 views