# All Questions

84,387 questions
Filter by
Sorted by
Tagged with
11 views

### Why is my svg image composed of surfaces instead of lines?

I'm trying to export this plot in svg format. However, if you analyze the exported svg image, you would see that they're composed of surfaces instead of lines like this: I suspect that this is the ...
• 1,962
14 views

26 views

### Nonnumerical result when using NIntegrate on piecewise interpolation function

Disclaimer: I'm relatively new to Mathematica. I'm numerically solving a differential equation using NDSolve whose solution I know is an even function. Thus, my ...
1 vote
59 views

### How can I calculate the diameters from the craters in this image?

I am new to Image Processing and I want to know a way to find the diameters of the craters.
28 views

The command: ...
37 views

### 3D Parametric Plotting for N Charged Particles in a Nonuniform Electric Field

I have a code (very bottom of post) which plots a static electric field as it passed through some metal sheet with an aperture in it. I seek to observe the motion of some N charged particles (point ...
• 25
1 vote
61 views

### Create grid-like Image3D

I would like to create a visualization of a volume with the help of equally-spaced grid lines. The effect I want to get is easily obtainable for 2D images, the image is simply divided into quadratic ...
33 views

### How to replace the 6th column with another column? [duplicate]

Consider the following table: tabb = Table[RandomReal[{0, 100}, 100], {i, 1, 10, 1}]; How to replace its kth column (say, the 52th column) by the column ...
• 3,832
39 views

### Compile and QPochhammer Function

I am running into trouble trying to make a listable function run in parallel. Arguably, the function that I am trying to compile is rather complicated. Whenever I run the code below ...
• 487
37 views

### Single Color in RegionPlot3d

I am creating a plot using RegionPlot3d. When using the command without further options you usually obtain a orange surface with some lighting effects. I want to simply change the color from orange to ...
125 views

### Add quotes to each element in a list

How to add quotes to each element in a list? For example, we have a list as: ...
• 503
52 views

### Implementing the 3D Radon transform

I am wondering how to implement the Radon transform, the 3D Radon transform, that is, given a 'density' function $f: \mathbb{R}^3\to \mathbb{R}$ The Radon transform of $f$ is Rf(s,w)= \int_{x\cdot w=...
• 109
43 views

### ComplexExpand over various imaginary parts? [closed]

I have an equation a=(c+ I d); b=(e+ I f); I want to solve dd=(a C0 * b K C0)/(a C0 + b K C0); both e and f are imaginary ...
• 175
23 views

### Using ReplaceAll to simplify derivatives

I'm struggling trying to simplify the derivative of a function. I know that ReplaceAll works like that: What I want is to replace the function itself that should ...
1 vote
42 views

### How can I collect the sum of any number of gradients without using ReplaceRepeated[]?

Recently, I have run into the problem where I need to collect the the sum of any number of gradients. I have defined a function grad[] to represent the gradient, ...
• 393
46 views

### How can the Style of one dataset be applied to another data set for plotting

I have a data set that must be plotted using BarChart, and I would like to format the color based on another dataset's style. For Example: ...
• 4,376
1 vote
64 views

### Suggestions to simplify and perform the summation of a complicated expression

I have a very complicated expression involving Hermite polynomials of complex variables, exponential and hyperbolic functions. Since it is too long to be pasted here, you can find the expression here. ...
40 views

### Solving a complex value coupled ODEs with NDSolve

I am a very beginner in Mathematica and I am trying to solve a complex value coupled ODEs with NDSolver. The equations would be like 1 where u refers to u(t) and a refers to a(t), other symbols such ...
173 views

### How are the projections of this plot made?

I want to make projections of a 3D plot as shown in this image . I took this image from this paper: Multiphoton state engineering by heralded interference between single photons and coherent states. I ...
• 147
37 views

### How can I plot the scattering phase function of a polarized light on a 3D sphere? [closed]

This is my first time using mathematica for plotting. I learned some techniques to plot my data but didn't get the right answer. I want to plot the scattering phase function on a 3D sphere as shown in ...
76 views

### How to insert AutomaticNumbering programmatically?

Preamble: I often work with the JournalArticle Stylesheet and use in it the styles "Figure" for graphics and "FigurCaption" for the corresponding caption. The figures should be ...
• 35.1k
31 views

### Working with VectorLabels in GeoGraphics

Consider this example of GeoGraphics: ...
• 3,731
137 views

...
• 1,284
1 vote
51 views

### An error in the short form of a two-dimensional array?

I noticed very strange behavior in the function Short when applied to a two-dimensional list of real numbers in Mathematica 12.3. Consider that ...
• 101
82 views

### Simplify with False assumptions gives wrong answers

Simplify is very gullible: if it gets a False assumption, it'll believe anything is True: <...
• 17.7k
1 vote
100 views

### Why is Alignment not honored in the first two headline columns?

Consider this example: ...
• 2,522
52 views

### Transient darcy flow equation

I can solve the following stationary Darcy problem: $div(\nabla u)=1$ with $u = 0 \in \Gamma_d$ ...
• 2,760
38 views

### How do I NOT reduce loop integrals to one-point in FeynCalc?

So I am doing a box integral, the amplitudes look like this: I do the loop integration of it using the following code: ...
63 views

### Optimization problem with parameter dependent interval of functions

I am working on an optimization problem but ran into a problem. Here is a simplified version of the problem: ...
• 21
62 views

### Plot two list for differen first list parameter

I have a series of equations based on which I plot final lists of "xA1","yB1". I need to change "xA1 = {0.55}" and "yB1 = {0.6}" between [0,1] with interval 0....
58 views

### Repeated DirichletConvolve of MangoldtLambda and MoebiusMu

There is a bug in DirichletConvolve. These two codes are same except that in first one MoebiusMu is used in another ...
• 2,615