All Questions

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

Computing plane waves with the magnitude constant to 1

I have a question. In regards with the given computation, ...
2
votes
1answer
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: ...
6
votes
2answers
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: ...
3
votes
1answer
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 ...
0
votes
0answers
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 ...
0
votes
0answers
34 views

Finding an analytic solution with a JacobiSD function

We are searching for an analytic solution to the given equation for $f_\text{n}(u)$, for $u \in [0, d/2]$ (this problem is a snippet from this paper here) $$-\partial^2_{u} f_\text{n} + \left\lbrack 1 ...
1
vote
1answer
35 views

About Blue Screen of Windows System after starting Mathematica 12.2/12.1 Win10

After starting Mathematica, My computer will Blue Screen. Mathematica version is 12.2 win10. An error of Win10 shows ...
0
votes
1answer
46 views

How to solve this set of PDE equations? I tried ParametricNDSolve, but

I am tring to solve set of PDE equations with parameters of v[z],q[z],T[z,t,r]. Below is my ...
0
votes
1answer
21 views

How do i generate rectangular function with plotlegends in phase as shown in figure

How i can generate rectangular function with plot legend in phase like shown in figure below.
2
votes
1answer
50 views

Does FindInstance traverse the entire domain?

If the result of FindInstance[expr<=0,vars,dom] is empty set, can it mean that expr is always greater than ...
0
votes
0answers
28 views

How can I implement a function that is a homomorphism?

I want to do the follow: Write a function $f$ such that if I evaluate $f(ax+by)$, it returns $f(a)f(x)+f(b)f(y)$. How can I do that? I tried to look in the help for "homomorphism" but didn't ...
4
votes
2answers
166 views

Enlarge the output picture and coordinate axis together like Matlab

Is there anyway to enlarge the output picture and coordinate axis together like Matlab? Like MatrixPlot or other Plot function. In matlab, there is a zoom button in ...
0
votes
0answers
49 views

Dataset: selectively map a function onto the nth column

I have this data, which I used the following to Import. ...
1
vote
1answer
30 views

Logarithmic steps inside a Do

I have trouble, i need to do several computations inside a loop using values in a logaritmic scale, is this possible? Inside of the cicle i create a several data sctructures, and it currently works ...
1
vote
3answers
78 views

Mathematica Assist. $yx=qxy$

In Mathematica program, How to define a product of two elements $x$ and $y$ such that $$yx=qxy$$ with $q$ is a number commuting with both $x$ and $y$.
1
vote
1answer
38 views

Apply a function to all coefficients of a polynomial

I would like to apply a given function $f$ to each one of the coefficients of a polynomial. For example if $P=(x - 2) (y^2 + 1)= -2 + x - 2 y^2 + x y^2$ and $f(c)=c^2$, I would like to obtain the ...
0
votes
0answers
23 views

Minimum contourplot of a set of functions

I have the following code ...
0
votes
1answer
63 views

Creating 2-d Ising Model

...
3
votes
1answer
32 views

Connect first and last point on ListPolarPlot

I have this function that creates a plot in Wolfram Mathematica: ...
2
votes
1answer
39 views

Consistent Results for MatrixExp, DSolve and Eigensystem

I have the system $$Y' = \begin{pmatrix} -4 & 4 \\ -8 & 4 \end{pmatrix}Y$$ Using DSolve DSolve[{x'[t] == -4x[t]+4 y[t], y'[t] == -8x[t] + 4y[t]},{x,y},t] ...
0
votes
2answers
97 views

Quick way to numerically cancel exponentials

I have a problem with exponentials and the use of the commands N and Collect. I am trying to write a code that generates a very ...
0
votes
0answers
47 views

How to solve the two differential equations?

I want to solve the following equation to find k at r max is 15,17 and 19 and plot tension(kx) vs angle(theta) there have any way to solve if it have many unknows? ...
2
votes
1answer
46 views

How to define derivative of function?

Could you help me, please? I'd like to evaluate the following expression: f' := 1/g[x] L[x_]:=L[x]=D[f[x]g[x], x] Thus, I'm ...
0
votes
0answers
62 views

Definite integral with Dirac delta and Heaviside function

In relation with the question I posed on MathSE here, I want to ask how can Mathematica give an answer to my problem. The context I am trying to get rid of the integral over $y$ in $$\begin{align} I=\...
1
vote
0answers
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 ...
0
votes
0answers
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 ...
0
votes
0answers
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 ...
4
votes
6answers
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 ...
3
votes
1answer
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 ...
0
votes
0answers
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 \...
0
votes
0answers
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,...
0
votes
2answers
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 ...
0
votes
0answers
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 ...
-1
votes
0answers
62 views

How can I check that this is true? [closed]

Good morning, someone would be so kind to explain the steps that I must follow to be able to pose this exercise. Someone would be so kind as to explain to me how to use Mathematica commands in order ...
6
votes
2answers
288 views

Maximal circle packing inside a given square

How to pack n equal disks(radius a/2) with maximal area inside a given rectangle ? I'm trying to solve this problem using Mathematicas Region functions. Here my approach: Maximize the area of the ...

15 30 50 per page
1
2 3 4 5
1536