# All Questions

62,797 questions
Filter by
Sorted by
Tagged with
5 views

### How to plot a Histogram and compare with a particular probability density function PDF

I would like to know how to plot a make a comparison between a histogram and a set of random data, I have the following probability density function (PDF) which is given for this problem. I can ...
21 views

### How to solve this partial differential equation for $f$?

I want Mathematica to solve for the function $f$. $f$ satisfies the following constraints. $\frac{\partial}{\partial x} f(x,y) = y$ $\frac{\partial}{\partial y} f(x,y) = x$ $f(0,0)=0$ It would ...
13 views

### How do I add a plot label in this case?

I am fitting these data: ...
26 views

### Why do menu items and shortcut keys sometimes become bugged?

Without any identifiable cause, Mathematica will occasionally seem to remap keyboard shortcut keys and menu items. I typically notice this with Ctrl-S, which I use often to save. All of a sudden, it ...
43 views

### Graphing a solid between two structures using spherical coordinates

How can I graph the solid that lies above the cone $z=\sqrt{x^2+y^2}$ and below the sphere $x^2+y^2+z^2=z$? I tried ...
20 views

### how i can create 2d pixels image

Is it possible to create an image with a defined number of pixels? For example, create a circle through the equation x ^ 2 + y ^ 2 <= 200 ^ 2 in a 400x400 pp image and define different colors for ...
31 views

112 views

### Is it possible to get the arXiv ID of all papers being referenced by a specific arXiv paper?

I ran the below code and obtained a paper article001 with arXiv ID 1609.05206v3. ...
82 views

### Need help with symbolic integration

I have f[x_] := g[x]/g'[x] FullSimplify[Integrate[f[x], x]] I'm trying to get F[x] in terms of ...
227 views

### How best to join tables, which have different lengths on the same column values which exist in both tables?

I think my problem is pretty simple, and in SQL this would be trivial. I have two tables ...
35 views

### Solving infinite coupled equations

I need to solve symbolically an infinite system of coupled algebraic equations that I tried to do analytically but I could not. Solutions of these equations, $V_l^m$, define the coefficients of a some ...
24 views

### Why won't this PrintTemporary[Dynamic[…]] expression work in a function?

I found myself reusing this code all the time to monitor variables during execution, so I'm trying to make it into a function: ...
37 views

### Edge list of a graph as a simple list of lists of pairs of integers?

Suppose I have a list of graph edges in the form: e={UndirectedEdge[1,2], UndirectedEdge[3,4]} How can I convert this to a simple list of lists: ...
50 views

### Why do I always have a grey corner on my plot?

I have encountered a very wired plotting issue: I had a script to plot 6 triangles together in one graph as below (first figure). However, as you could see there are always two grey parts in the ...
54 views

### Expression manipulation

How can one write $\frac{ad+bc}{bd}$ in $\frac{a}{b}+\frac{c}{d}$ form? In other words, is there something opposite of Together[]? Edit My intend was to write <...
26 views

### MaTeX in the labels

Writing Plot[Sin[2.5 x], {x, 0, 2}, PlotLabel -> Framed["a=1.5" // MaTeX]] I get the expected labeled plot: However, if I just change ...
85 views

27 views

### Problems with the parametric Recurrence Table

I am trying to construct a minimization program where I have to minimize a function with respect to a matrix. This matrix enters into the optimization program in a convoluted manner together with data....
57 views

### Non-linear ODE from closed-loop system and Response

I started using Mathematica 12 and ran into difficulties. Namely, I want to compare the results of the calculation of a closed system from Simulink and in Mathematica. I rummaged around a bit on the ...
42 views

### NestList with LibraryFunction

Edit Same behavior without FORTRAN and undocumented part. What can be wrong in this case? LibraryFunction below is supposed to be just an identity function. ...
74 views

### Matching spectral data to known spectral lines

Preamble: I designed some code to help me take spectral images from a spectrometer and convert pixel number into wavelength. It does reasonably well at matching a calibration spectrum of a neon lamp ...
45 views

### Solve integral equation by iteration

For[{n = 1, y[0][x_] = 1}, n < 4, n++, y[n][x_] = 1 + Integrate[y[n - 1][t]^2 + t^2, {t, 0, x}]; Print[{n, y[n][t]}]] here how can I get table of values ...
97 views

### Create a Miura origami pattern?

I want to solve the below code to create an origami pattern ...
100 views

### Problem combining ParametricNDSolve with NonlinearModelFit

Edited to add: The choices of Method given in the comments and in the answer provided by Tim work for the example I originally provided, and I thank all of you for those suggestions. Unfortunately, ...
29 views

32 views

### Analytic maximization that reduce fails to solve

I'm working on an interesting problem but stuck on a step that Mathematica fails on (no matter what angle I try to get at it from). I'm attempting to find the symbolic maximum of this convex function ...