# All Questions

76,798 questions
Filter by
Sorted by
Tagged with
3 views

### Formatting one-sided error bars in Mathematica 12

Below is a plot I made in MATLAB. I need to recreate the above plot in Mathematica. This is what I'm able to achieve on Mathematica 12.2 (the slight formatting differences compared to the MATLAB plot ...
20 views

### What is the best way to detect constant or periodic amplitude of the spectrogram?

Suppose I get interpolating function in the solution of the complicated differential system. I plot a solution for various input values that control the outcome of the solution. Some give exponential ...
18 views

### PlotRange values changed by AspectRatio and PlotLabels

I'm running into a strange issue with ListPlot. I'm trying to plot some data with particular values for PlotRange, PlotLabels, and AspectRatio. However, if I enforce the desired values for PlotLabels ...
7 views

### Numerical Laplace Transform using using Fourier transform and plotting results

I would like to take a numerical transform of interpolating functions which is a solution of at least two coupled differential equations. But for this question, I am simplifying the solution to make ...
38 views

### Is there a command which applies Position[] to each element in a list?

Given a list of elements, I want to produce something similar to Tally, but instead of counting how many times each element occurs in the list, I instead want a ...
11 views

### Evaluating a time dependent variable out of NDsolve/in NDsolve without affecting the result

this is my first question here. I am having trouble, I might be able to express what I want in Matlab but I suffer to do that in Mathematica. So I have a direction cosine matrix that is solved in ...
57 views

### How can I display conformal mapping?

z to quadratic function with conformal map. How to plot this in Wolfram Mathematica or Geogebra? Then I can write that code in $\LaTeX$. https://cmgreen.io/images/...
56 views

### Why so big difference between results of Integrate and NIntegrate?

Studying an interesting article of Daniel Lichtblau, I consider a variation of an example from it, calculating an improper integral ...
48 views

### Is it possible to define conjugate of a function?

Could you help me, please? I have two complex functions of real variable f[x] and fc[x] such that one is a conjugate of another one. I'd like to take a conjugate of an expression that includes both of ...
23 views

### I want help , thanks [migrated]

I have an mxn type matrix, my question is; how to find the reduced form of A using the Gauss elementation. On each column point reduced form. 2.If A is square, How do I find the determinant using the ...
30 views

### What pattern will distinguish an element of a list from a list when used in a function?

In Mathematica several versions of a function can have the same name with a pattern distinguishing which version of the function should be used for which type of input. Here is a minimum working ...
23 views

### Fast fourier coefficients for a long sum

I have a very long expression involving a sum of exponentials, say: Sum[(RandomReal[] + RandomReal[] a) Exp[2 I ii x Pi], {ii, -10, 10}] I want the fastest way to ...
35 views

### Labeling axes with the use of Table[Plot3d]

having this command: Table[Plot3D[u[r, phi, n] // Re, {r, 0, 4}, {phi, 0, 2 Pi}], {n, 0, 5, 1}](*Real Part*) I would like to label all the six plots that are ...
39 views

### Why does Reduce give False on SameQ with its copy-pasted result?

If I evaluate Reduce[#, x] & /@ {{4 x > 1, 2 x < 5}, {5 x > 1, x < 5}, {4 x > 1, x < 5}} the result is ...
28 views

### Computing plane waves with the magnitude constant to 1

I have a question. In regards with the given computation, ...
37 views

### is it possible to stop/kill Mathematica Frontend from wolframscript?

I use wolframscript to generate hundreds of images like this visualization of 4fold symmetry of octahedron (to be combined in animation videos) like so: ...
78 views

### joining three lists to plot data with errors

I have three lists: x = {x1, x2, ...}, y = {y1, y2, ...}, yErr = {y1Err, y2Err, ...} that I want to join into the following format: ...
51 views

### Graphing Markov chains / decision trees

I'm looking to graph a simple one-way Markov chain, which is effectively a decision tree with transitions probabilities. One way I've got this working in here in an MWE, here's a simple Markov chain ...
30 views

### How can I control decimals in Ticks

I have this code to get some density Plots, and the ticks on the x-axis has two decimals but at zero appears only one 0.. How can I make all ticks consistent such ...
34 views

37 views

### Eigenvalues of secular equation to finite order in perturbation

I have a 4x4 matrix $M(u)$, originating from second-order time-independent perturbation theory in the small parameter $u$. The characteristic equation is a fourth-order polynomial and can be solved ...
39 views

### Exponential matrix, run during infinit amount of time

Context: I want to apply an exponential matrix on a vector. The size of the matrix (which then I apply the MatrixExp on) is size of 50x50, and not diagonal. For reason I don't know, Mathematica take a ...
25 views

### IGraphM error creating a list of motifs using IGMotifs[]

A follow up from a previous question Detecting patterns in a graph network Thanks to @Szabolcs ...
305 views

### Count number of balls in each bin, given a two-element sequence of balls and bins

If I have a list: {ball,ball,BINDIVIDER,ball,ball,ball,BINDIVIDER,BINDIVIDER,ball,BINDIVIDER,ball} The balls and bins can be in any permutation. Then, the ...
97 views

### Square root problem

Consider the following code NDSolveValue[{ x'[t] == x[t]^a, x[0] == 0 }, x, {t, 0, 10}] which solves the equation $x'(t)=x(t)^a$, for some exponent $a$, with ...
28 views

17 views

### Asymptotic Output Tracking - How to Track?

Asymptotic Output Tracking: Code Issues Abstract state-space: \begin{cases} \dot{x_1}=x_3 \\ \dot{x_2}=-x_2+\frac{df}{dt} \\ \dot{x_3}=-x_3+x_2 \cdot \alpha \sin(\omega t) + u \\ \dot{x_4}=-x_4+x_2 \...
27 views

### How to calculate Fourier coefficients in the transmittance function? [migrated]

Good morning, could someone help me to propose this exercise to be able to solve it Calculate the Fourier coefficients c_s of the transmittance function t(x)= t(x+P_x) given in|x|<P_x/2,...
66 views

### How to fit my data to error function?

I asked this question yesterday about fitting my data to logistic function and I received the right answer, but now I have to fit my data ...
28 views

### Plotting imaginary part on y-axis against real part on x-axis of complex momentum

I want to plot a complex momentum in complex plane where the y-axis shows imaginary values and x-axis shows the real values. I tried ReIm command but it plots Re and Im parts not Re vs Im. Below is an ...