All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
3 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 ...
1
vote
0answers
20 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 ...
0
votes
1answer
12 views

How do I add a plot label in this case?

I am fitting these data: ...
1
vote
0answers
25 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 ...
1
vote
3answers
42 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 ...
0
votes
2answers
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 ...
1
vote
1answer
30 views

Unable to use the Import[] function to get the clickable hyperlinks of a page

I can get the hyperlinks of the Google search result of "Wolfram" by using the following code: Import["https://www.google.nl/search?q=Wolfram", "Hyperlinks"] Now ...
2
votes
1answer
110 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. ...
0
votes
0answers
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 ...
5
votes
4answers
221 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 ...
1
vote
0answers
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 ...
1
vote
1answer
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: ...
1
vote
2answers
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: ...
1
vote
0answers
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 ...
1
vote
0answers
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 <...
0
votes
0answers
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 ...
4
votes
1answer
85 views

Visualizing Riemann surface (two branches) of logarithm

I'm trying to plot two branches of the complex multi-valued function: (In a previous post - linked above-, Mathematica found the branch cut of the following function between -1 and 0) $1-z\ln[(1+z)/z]...
3
votes
1answer
26 views

How can one remove the prefix /home/pi from Mathematica links to the web (e.g. documentation) on fresh raspberry pi 4 installation

With a fresh installation of Mathematica on a new raspberry pi 4, I find that the links to help and documentation and the Wolfram site are all erroneously prefaced by "/home/pi" which causes an error ...
4
votes
2answers
125 views

To plot branch cut of logarithm

I like to see the branch cut of the function: $$1 - z \ln[(1+z)/z].$$ If I plot it in the complex plane: ...
0
votes
3answers
40 views

Optimizing with respect to the parameters of an optimization problem

I’ve got this simple loop that prints out the solutions to 2 simple equations for various values of parameters $a$ and $b$. I need to add a command that would display the parameter values that lead ...
0
votes
0answers
10 views

How to realise the backflow from one volume to the upper volume by modelica language?

It is a simple idea that I Want to solve the same equations in a finite volume when the variable x of next volume is computed smaller than 0. Because the characteristic of the modelica language, it is ...
5
votes
2answers
162 views

Show two plots together: a two dimensional curve tangent to the maxima of a three dimensional plot

I have a list containing 3 columns and 6552 rows which can be found here. The plot of data is shown below: We have a cross cut ...
0
votes
1answer
32 views

ListDensityPlot and interpolation order

I am working on a project that takes arrays of data and visualizes them using ListDensityPlot. I noticed, when I imported an array from a CSV file, the last column ...
0
votes
0answers
23 views

Example with \$CharacterEncoding [on hold]

I'm looking for an example with $CharacterEncoding = None
4
votes
0answers
22 views

Canonical URL's for deployed notebooks changed?

I'm using the function below to update my notebooks in the cloud. Traditionally it deployed to the following location: https://www.wolframcloud.com/obj/yaroslavvb/whitening/curvature-unit-tests.nb I ...
10
votes
1answer
157 views

What is the best way to use errors in mathematica M12?

Since ErrorListPlot has been superseded by new functionality in ListPlot for Mathematica 12.0, what is the best way to handle ...
1
vote
1answer
36 views

Find the intervals where a piecewise is maximum

I have the following 3 piecewise functions and I would like to have the threshold of the upper envelope. ...
8
votes
5answers
540 views

Polar contour plot in Mathematica?

I am following a text on fluid mechanics with MAPLE examples. I want to do the following ContourPlot in Mathematica in Polar coordinates: $$ (r^2-\frac{a^3}{r}) \...
0
votes
1answer
32 views

remove one of the column in the output of Solve command

I would like to remove one variable in the output of the "Solve" command without changing the rest. For instance, in the following code ...
0
votes
1answer
109 views

solve the iterative integral equatio

The following code is incorrect, please specify my mistakes ...
3
votes
4answers
161 views

Programming a recursive formula into Mathematica and find the nth position in the sequence

Well, I have the following recursive formula (where $\text{n}$ gives the position in the sequence): $$\text{P}_\text{n}=\alpha\cdot\text{P}_{\text{n}-1}+\text{P}_{\text{n}-2}\tag1$$ For arbitrary $\...
1
vote
0answers
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....
4
votes
1answer
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 ...
0
votes
0answers
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. ...
5
votes
1answer
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 ...
0
votes
1answer
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 ...
0
votes
1answer
97 views

Create a Miura origami pattern?

I want to solve the below code to create an origami pattern ...
4
votes
2answers
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, ...
0
votes
0answers
29 views

Using input in notebook TOC to Open at page 50 of a notebook

Already I have made a Table of Contents (TOC) notebook. In it are buttons which when pressed load very long notebooks, like say notebook ZZZ, which contains research notes. TOC works great. ...
0
votes
0answers
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 ...
2
votes
1answer
59 views

How to define NumberForm in LegendLabel?

To start: ...
7
votes
2answers
326 views

Animate flow lines of time-dependent 3D dynamical system

I've spent a bunch of time perusing Stack Exchange to try to find an answer and found nothing; hopefully this isn't a duplicate. I have a time-dependent vector field $\Phi_t(x,y,z)=(x\lambda^t,y\...
4
votes
1answer
39 views

StringTemplate with Irrational number

How to keep irrational number as their original form rather than approximation when using StringTemplate? StringTemplate["`1`"][Sqrt[3]] This will output ...
5
votes
3answers
100 views

Including the actual length scale of the image in processing microscopic images

Following the wonderful methodologies provided in this post, I have learned how to process microscopic images of the types shown below in order to analyze them. When it comes to analysing the size ...
1
vote
0answers
22 views

Plotting an NDEigensystem solution over a helicoid

I am trying to plot the solutions of a particular Hamiltonian eigensystem over a helicoid. In other words, my solutions are a function of the radial variables (r,$\phi$). The Helicoid is given by the ...
0
votes
0answers
55 views

GPU Computation AMD

I'm new to this forum even though it has helped me a lot over the last few months. I'm working on hypergeometric functions and want to use my GPU as support. I have a Radeon R9 390, but I can't get it ...
2
votes
1answer
59 views

Vector field Stream?

The following graph shows the vector plot. How can I plot the solid lines which represents how the vectors are spatially varying and both on the same graph (vector plot and stream field)? ...
7
votes
4answers
220 views

Select elements of a list by comparing it to another list

Suppose I have the following lists: ...
0
votes
0answers
32 views

Normalized eigenvectors are different depending on when the limit is calculated

I have this code: ...
0
votes
0answers
35 views

“PermutationReplace[1,#1] cannot be used as a part specification” [on hold]

I am looking for all permutations of the standard coordinates on $\mathbb{R}^7$ that leave the 3-form $\varphi=dx_1 \wedge dx_2 \wedge dx_3 + \dots$ (this is a form with stabiliser $G_2$) unchanged. ...

15 30 50 per page