# All Questions

4 views

### Recreating a ContourPlot3D using points

Let's define a three-dimensional surface ...
4 views

### PolynomialExtendedGCD in 2 variables

Consider the rings $R$ and $A=R[y]$. Consider two polynomials $g,h\in A[x]$. I want to obtain $d=\gcd(g,h)\in A[x]$ and two polynomials $s,t\in A[x]$ satisfying the Bézout relation: $sg+th=d$. I used ...
71 views

### How can a function without an operator form be used in postfix form?

As an exercise, I was trying to convert the following Clojure code to Mathematica: ...
4 views

### FInding outliers in multiple dimensions

I'm working on dataset which isn't normally distributed.which contains three dimensions like cost, discount and profit I'm trying to find outliers in all these dimensions. I used z score to find ...
65 views

### How to obtain the coordinates of the intersection line of two surfaces?

I can plot the intersection line of two surfaces $f$, $g$ by using: ...
27 views

### Factoring an arbitary variable in mathematica

Imagine we have a equation like this ...
19 views

### Option for Simplify command in mathematica

What does Simplify[%[[1]], %[[2]]] mean in following code? I mean [[1]] and [[2]] exactly what does refer to? ...
374 views
+500

### Numerical inverse Laplace-Hankel transform

When trying to reproduce the result of this paper about numerical solution of Lamb's problem, I encountered the following double integral (to be more precise, the 0-order inverse Hankel-Laplace ...
125 views

### Deriving a PDF for an annulus distribution

I would like to derive the PDF for an ''annulus'' type distribution, defined by the parameters $\theta\sim U(0,2 \pi)$ and $d\sim N(0,\sigma)$; where $\theta$ is the angle round a circle of radius ...
17 views

### Generating random numbers using Gaussian distribution in a code and changing standard deviataion in increaments

I am working on the following code, which calculates mean2 after taking mean/average over 100 realization of the code with each time 10 random numbers generated using Gaussian distribution. Currently ...
28 views

### Is this the right way to use for loop

Is this the right way to use for loop in order to find the sequence of $x_n$ ...
35 views

### How do I extract the values returned as Root[,] after solving the Sturm Liouville problem to take the square root?

$y''+\lambda y=0, y'(0)=0,y(1)+y'(1)=0$ ...
72 views

### Exporting a high-resolution GraphPlot of a very large graph (65,536 nodes)

Problem I have a very large graph of 65,536 vertices. GraphPlot yields: But the vertices are too dense to see in any detail, and attempting to use any of the ...
80 views

### Definite integration in mathematica

I tried to integrate the following in Mathematica. $\int\limits_{-\infty}^\infty\cfrac{\text{e}^{\text{i}ax}}{x^2-b^2}\text{d}x$ where $a,b>0$ The analytical result is well known. ...
28 views

### Boundary conditions for NDSolve

I get the following message: Boundary values may only be specified for one independent variable. Initial values may only be specified at one value of the other independent variable. >> from ...
26 views

### unordered lists with maximum dispersion

As you can implement the following I have a list $$L = {p1, p2, p3, p4, p5 ........ pn}, n <50$$ I need cluttering and print this list 4 ...
22 views

### Getting DSolve to return different solutions

I am Using 10.0 I am trying to solve the following ODE: $$\frac{d^2 \psi}{d\theta^2}+ \nu \psi =0$$ , $$\psi(0)=0$$,$$\psi(3\pi/4)=0$$ and Mathematica only sppits out the trivial solution PS: I am ...
445 views

### Is there a method to send different Cell evaluation to different core?

I am running Mathematica on a computer with multi CPU and every CPU has multicore. I am wondering if there exist a method to send different cell evaluation to different core? So if I already have a ...
22 views

### How to remove a hold from a result obtained by equating a partial derivative to 0?

I have a function g(x,y). I want to set its partial derivative by $y$ equal to 0, obtain an expression depending on $x$ and use it in further calculations. However, the code I am using puts a hold on ...
34 views

### KaryTree of Text .csv and Correlation

How can I make a KaryTree of this raw-data (raw-data at the end of the question): This is is data from a political survey in which I ask 5 questions with the following possible answers: Q1: 'Y'= ...
37 views

### Product of Two Functions

I wrote a little messy conditional probability distribution. In the output, however, the numerator shows like p^2 (A) (B|A), rather than ...
120 views
+200

### How to describe the convex hull of a set of points as an implicit region for optimization?

In Mathematica you can create out of a set of points in 2D and 3D the convex hull and use it as a region for optimization problem, e.g., ...
31 views

### Trouble exporting graphics to SVG (or PNG)

I'm trying to export a Graphics object to SVG (or, failing that, PNG). The graphic is a chart of ~1000 simple geometric "configurations"; below is a small excerpt ...
25 views

### Compute the Breslow-Day statistic in Mathematica

How would one compute the Breslow-Day statistic in Mathematica? Is it part of an existing package or can it be derived from one?
33 views

### Cartesian coordinates inside Spherical function

I would like to write a function that draws a graphic object and its projections along the x,y and z axes. I specify the $r,\theta, \phi$ of the object and an arrow and it's dashed projections are ...
27 views

### How to return multiple types in APIFunction?

I'd like to publish an api that returns an image as well as a number, but it seems that the docs for APIFunction specifies only a single possible format type: Here's an example to play with: ...
60 views

### Mathematica gravatar engine?

This question asks about making gravatars in Mathematica, but the accepted answer is just a wrapper around the gravatar.com service. Is there an open source Mathematica engine that performs the ...
14 views

### How to handle DLL dependencies between .NET dll and non-.NET dll's

I think my problem arises because I am successful with loading a .NET assembly, creating an instance and calling methods from a .NET dll. Certain methods, however, call methods from other non.NET ...
23 views

### CompiledFunction::cfsa Argument x at position1 should be a machine-size real number

I have a compiled function: g:=Compile[{{x, _Real}},...] and call g through an interim function: g2[x_?NumericQ] = g[x] If I call g2[100.], I get the CompiledFunction::cfsa : argument x at ...
48 views

...
34 views

### Integrate fortran function into Mathematica

I was trying to use Fortran function in Mathematica. I was following mainly this answer . My Fortran code looks like this: ...
87 views

### To style Sound object

While doing some signal processing research my aesthetic feelings were heavily struck by following output: The problem here is that 211.96 s label is partially ...
22 views

### Series Soln False error [on hold]

When I try to define my equation : sys3 = {y'[x] == 2 y[x]/(1 + y[x]^2) - Exp[y[x]]/(1 + Exp[y[x]]), y (0) == 1} OR ...
72 views

### Creating Saveable->False notebooks

Bug introduced in 10.3 or earlier and persisting through 10.4.1 Reproduced on Windows 7, 10 I'm having difficulties with programmatic creation of non saveable notebooks on Windows with V10.4.1. ...
63 views

### Double sum in mathematica

It may look like a stupid question, but I was really confused by how double sums works in mathematica: After simplification, the function actually has nothing to do with n2? Also, when I manually ...
30 views

### rescaling X axis

I have a pretty simple code, working fine and producing a plot that is ALMOST what I desire: ...
73 views

### Plotting logistic maps

I have a question about plotting in Mathematica in general, and this particular recurrence relation as an example: $\qquad x _{n+1} = rx_{n}(1-x_{n})$ How can I plot the following plots as shown ...
150 views

### NDEigensystem returns incorrect eigenvalues for 2D coulomb problem, eigenfunctions contain discontinuity

I posted a similar question a short time ago regarding the 3D Coulomb problem. Jens' excellent answer to this thread allowed me to obtain the correct eigenvalues and eigenenergies for that system. I ...
68 views

### Interval arithmetic for DawsonF (or other special functions)

I am currently trying to estimate a complicated expression involving DawsonF using interval arithmetic. The interval arithmetic is partially supported by ...
27 views

### A question on JordanDecomposition in Mathematica

How can I have Mathematica show me also the inverse matrix of the similarity matrix of JordanDecomposition of a matrix? Obviously I need to use here the ...
26 views

### List of Inequalities in RegionPlot with different colors

Starting from the example of the Documentation: RegionPlot[{x^2 < y^3 + 1, y^2 < x^3 + 1}, {x, -2, 5}, {y, -2, 5}] Which gives a nice plot with two ...
29 views

### Importing an .eps file failed in the latest version of mathematica

It was quite straight forward to import an .eps file (also pdf and other formats) into a script, with the version 10.0. that I had before; but, since I upgraded my Mathematica to the latest version ...
66 views

### Seeing coordinates in Graphics3D

I'm writing some structures built up from different strings that specify the coordinates of the lines. The code used to generate these is built up from a ton of user defined functions from my library, ...
30 views

### differentiating an integral

I am new to Mathematica. i hope to have the software next week so please excuse the unusual syntax. p(y) means p is a function of y. u(p) means u is a function of p . p(x) is the value of p when y=x ...
35 views

### Run several input cells in parallel

I have a notebook with several input cells that produce data which is then plotted into separate graphs. Since I do not want to save the results, because it makes the file huge, I keep the ...
36 views

### Plot for function that calculated direct with while, but is piecewise

For this question Use of {FOR, Do, If,Plot} that ..., I wrote this code: ...
23 views

### Plot3D gives an empty box [on hold]

I have two questions. I am trying to 3d plot a function like in the image below. It gives an empty box displaying no results. I tried adjusting the graphic qualities, but it does no solve the ...
217 views

### Find all roots of a function with parabolic cylinder functions in a range of the variable

I want to find all roots of a function involving Parabolic Cylinder Functions. In what follows, I define 2 variables $\xi1$ and $\xi2$, which in turn depend on $\omega$. My function is then defined as ...