# All Questions

2 views

### Curve fitting with variable number of Gaussian curve

I have the data which appears like And I decided to use three Gaussian curves to fit it. (This code allows me to manipulate all three curves and put in best guesses for peak positions. Using these ...
9 views

I'm working with the system of differential equations: \begin{align*} \left\{ \begin{array} { l l } { (u')^2 + (v')^2 = 1 } \\ {u'v'' - u''v' = -v' + u' } \end{array} \right. \end{align*} Where $... 2answers 18 views ### Subtracting off background data from my data sets I don't know how to subtract off background data Data0 from my data sets collected in Datagen. ... 1answer 24 views ### ListLinePlot of a 3D function, over one of the arguments, with a range of values for the other 2 arguments I have a function of 3 arguments mu[kx_, ky_, lambda_] := -(kx^2 + ky^2) - (kx^2*(kx^2 + 5*ky^2)*lambda)/(kx^2 + ky^2)^4 I want to plot ... 0answers 17 views ### Non-linear numerical solution with variable parameter I have solved the following system non-linear: ... 0answers 10 views ### 4D NIntegrate with singularities I need to integrate a function in a 4D region (x1,y1,x2,y2), which explodes whenever x1=x2&&y1=y2. The code is as following: ... 1answer 20 views ### Import and rearrange txt file I have a txt file like this: A B C 400 2 3 2 1 8 Now I would like to import the txt file and write it all on one line instead of in columns, so like that: <... 1answer 31 views ### How do I plot a distance map in$R^2$to a curve given in form$y=f(x)$? As in the title, I'd like to display image using DensityPlot representing distance to a given curve, e.g.,$y=x^2$. I find it difficult to derive distance ... 2answers 47 views ### Efficient way to detect peak value changes in a list ListPlot[list, Joined -> True, PlotRange -> Full] I would like a simple method to get the positions within the list where the values deviate a lot from ... 0answers 32 views ### Performing a nonlinear fit from data imported from a text file I have a text file data that I imported and I want to fit it with a given equation. I tried to fit but it did not work and gives Here is my code: ... 1answer 33 views ### Optimisation of a loop I've opened a question here, which was answered. The code works totally fine for a small set of data. However, for a large set and over many iterations, it will take a long time (in order of 24 hours).... 1answer 33 views ### Solving eigenvalue BVP with an interface I have a boundary-value problem, that is defined over two adjacent regions with an interface in the middle, that contains an eigenvalue$\lambda$. The boundary conditions and the equations are ... 2answers 39 views ### How can I dynamically hide and shows Graphics3D objects? This quest is motivated by this. If I wish to visualize 3 Graphics3D objects, I can do this: ... 1answer 43 views ### Machine Epsilon is not equal to$MachineEpsilon

I try to wrap my head around machine precision calculations in Mathematica (11.2, Linux). I do not understand the following behavior: ...
19 views

### How to plot expression in x axes and variable in y axes [duplicate]

Plot[1.88 (a^(1/3)) , {a,-0.56,0.56}] I unable to plot the expression in x axes and variable in y axes
17 views

### Import data from a xls file into a Neural Net

I have 2 xls files of data. 1 for input and 1 for output for neural net. They are of the form {{1,2,3,4,5,6,7},{7,2,3,8,5,9},....} I can get the files into Mathematica, but unable to get it to train. ...
58 views

### Solve equation of motion with Dirac-fermions?

I want solve a System with n equation of Motion in first order. In this equation of motion are creation and annihilation operators of Dirac-fermions. I cannot figure out how to describe the creation ...
36 views

### Visualizing Color Values On Original Image

I have an image and I would like to retrieve all color values of pixels which are located along stribes: So what I do, is the following: I import the image from the web I get the image dimensions (w,...
102 views

### Exporting graph object for later use

We are planning to analyze geometry of artery branch pattern. We convert the binarized image into graph object using MorphologicalGraph[]. To avoid the complexity ...
134 views

### Problem with GraphicsPolygonUtilsPolygonCombine

Writing: Normal@ParametricPlot[{x, x^2 t}, {x, 0, 2}, {t, 0, 1}] /. p : {__Polygon} :> GraphicsPolygonUtilsPolygonCombine[p] I get: but if I write: ...
44 views

### Solution of Laplace equation

Is it possible to solve $\qquad Uxx + Uyy=0$ and $\qquad U[0, y]=0, U[1,y]=0,U[x,0]=0,U[x<0.3,1]=10,U[x>0.7,1]=10$ and Neumann condition in (0.3, 0.7)?
40 views

### Plotting a family of functions with For

I'm trying to plot a family of functions differing only by a constant $c$. The function is: $2x^2-5x+c$. In order to plot them I'm using the following code: ...
44 views

### Using a table within a RegionPlot3D to plot multiple cubes

Here's some code that will produce a cube: ...
14 views

### Setting reduced Range for 3dprint

Unable to set Range for 3dprint as part of full 3D parametricPlot3DRange. RevolutionPlot3D[{50 + 25*Cos[u], 25*Sin[u]}, {u, 0, Pi}, PlotStyle -> Thickness[3], PlotRange ->{ {0, 80} {-80, 80}...
82 views

### How can I obtain the domain of a resulting Interpolating Function?

I have a problem with obtaining the domain of resulting Interpolating Function in my calculations. I want to solve the following differential equation ...
45 views

### Inserting dat by using for? [duplicate]

I have data set in a form ROG1.dat, ROG2.dat,...,ROG100.dat, I want to import all of them in Mathematica, Can you tell me how? Best
36 views

### How to correct not precise values

I have the source file file = "test.txt" with these values: ...
26 views

### AceGen list parameter

I am working with AceGen and I try to define my own materiał and in this material I have a parameter K which is calculated at every incement. My problem is that ...
40 views

### What use is empty binding list in Block[{},…]? [duplicate]

Spelunking the Export function, I stumbled upon the following definition: ...
33 views

### Contour Plot with logarithmic scale [duplicate]

I am trying to plot an equation using contour plot with x-axis in logarithmic scale. ...
27 views

### Change distance between vertical y-axis label and plot

I'm trying to do something that should be fairly straightforward: having a vertical y-axis label. My problem is, it creates a ridiculously large space between the label and the axis (exactly what I'm ...
17 views

### Node label's letter case in graph incorrectly displayed [on hold]

Upon constructing the following graph, I expected the node labels to appear as per what is provided. The letter case of Node E is not in CAPS as shown below. Please correct me if I misunderstood ...
35 views

### How to render a segmented volume?

Here is a segmented volume with 96 different features. I wish to visualize each feature with a distinct color. I followed this documentation and used Blend to ...
35 views

### Iterative loop for a given list

Suppose I have the following list: ...
150 views

### Undesirable grid appears when ParametricPlot is exported as PDF

Writing: plot = ParametricPlot[{x, Min[1, 2] t}, {x, 0, 2}, {t, 0, 1}, PlotRange -> {{0, 2}, {-1, 2}}] I get: but if I write: ...
60 views

### Toroidal metric in a random geometric graph

I have some code I've been using to generate some random geometric graphs as fast as possible. The boundary conditions on the rectangular domain I am using sometimes interferes with a clean ...
27 views

### Exporting Table format and strings not enclosed in quotes

The help file for format/Table says very clearly "By default, Export delimits text fields containing the field separator with double-quote characters." A simple ...
65 views

### Efficient way to make updates in a big List

I would like to know is there is a way to do this: ...
51 views

### Analytical solve for biharmonic equation

I want to analytical Solve or numerical solve by Mathematica a biharmonic equation with homogeneous boundary conditions homogeneous? I considered its solution using Fourier analysis, which is not ...
65 views

### unmatched output for density plot

I am plotting Abs[R] on y-axis vs k on x-axis with the following code ...
146 views

### Opening Mathematica file in google drive

I have a Mathematica file in my google drive. There is no option to open the Mathematica file directly, without downloading it. Is it possible to directly open the file from google drive?
61 views

### Generate random point on the external surface of this complex geometry

This is a followup to this question of mine. How do I generate a random point on the most external surface of this complex geometry? ...
33 views

### Is there a way to produce an “evaluate at” vertical bar that resizes properly in display formulae?

There are two examples of what I am talking about in this equation: \displaystyle \left.\mathrm{d}\Phi\left(v\right)\right|_{p}\equiv\left.v^{\mu}\frac{\partial\Phi^{\lambda}}{\partial x^{\mu}}\frac{...
571 views

Given: ...
42 views

### NIntegrate giving different values for different integrating methods [on hold]

My problem stems from trying to integrate fsbb which will be shown later. Here's how fsbb is defined. I first have a 3x3 ...
32 views

### Editing the function argument

I'd like to construct a function, that changes its own input. The code ...
40 views

### Correct way to see domain of function using DownValues?

Here's a simple function g defined for the natural numbers 1 through 10: Table[g[i] = i^2, {i, 1, 10}] I now want to find the ...
28 views

### List of Financial Index in Mathematica

I have to work with different Financial Futures Index in Mathematica using the function "InteractiveTradingChart". But, I can't able to find a complete list of all the available Financial Futures ...