Recently Active Questions
97,743 questions
4
votes
1
answer
399
views
How do you ask someone to input the values of a matrix?
I'm trying to set up code that basically asks the user to input the values of a matrix with a certain key size. I want them to first enter the keysize and then ask for all of the entries necessary to ...
2
votes
1
answer
52
views
Constructing a URL query using URLDownload or URLRead
I am trying to download data from NOAA and I can't figure out how to construct a query to do it.
This URL points to a page that contains data for tides at six minute intervals between Jan 01 2021 and ...
4
votes
2
answers
265
views
Visualizing Different Coordinate Representations of Complex Numbers
As a beginner with Mathematica, I apologize if this question is too basic. I would like to show introductory students that a complex number can be represented in several different coordinate systems ...
0
votes
1
answer
94
views
HowTo vertically center node labels in Graph output
Version: "14.3.0 for Linux x86 (64-bit) (July 8, 2025)"
The code listed below using the data following it produces the result shown in the image. I want the node labels positioned directly ...
0
votes
0
answers
87
views
Wikipedia word cloud question from "An elementary introduction to the wolfram language"
I have been following the aforementioned course and it has been great. I am currently stuck on question 36.4: "Publish a form on the web that takes the topic of a Wikipedia page and gives a word ...
1
vote
1
answer
433
views
How to Plot the Steady State Phase Response Curve?
I have a code to plot the steady state frequency response curve (provided by @ Michael E2), How can I plot the steady state phase response with the help of this code same as shown in the figure:
.
<...
0
votes
2
answers
410
views
Plotting an open ball with a discrete metric
A simple question but the answer is elusive... well, for me anyway!
Given a metric space defined as d((x1,x2),(y1,y2)) == 4|y1 - x1| + d0(x2,y2), how can I plot ...
1
vote
1
answer
292
views
Can this previously solved three-dimensional constrained integration also be solved with certain added products in the integrand?
In Solved3DConstrainedIntegration
the constrained three-dimensional (Hilbert-Schmidt-metric-based HSmetric) integration problem for the absolute separability probability of the two-qubit (quantum bit)...
3
votes
2
answers
226
views
Solving a coupled 2nd order differential equation numerically using NDSolve
I would like to solve the following system of differential equations numerically for two one-dimensional functions $R(x)$ and $\phi(x)$:
\begin{eqnarray}
c_1 \left(R''(x) - (\phi'(x))^2 R(x) \right) - ...
10
votes
1
answer
464
views
Why do DateList, DateString, and AstronomicalData ignore $TimeZone?
My reading of the documentation for DateList and DateString lead me to believe that both functions use ...
3
votes
1
answer
221
views
What is the meaning/utility of __[] AKA BlankSequence[][]?
I understand BlankSequence in other contexts, but not this one __h means a pattern of one or more things each of which have head ...
1
vote
0
answers
56
views
Eigenvectors of GSE with right properties
I encountered a weird problem when trying to study a few properties of eigenvectors of matrices sampled from the Gaussian symplectic ensemble (GSE). I have encountered this while trying to understand ...
2
votes
1
answer
146
views
Numerically integrate an implicit vector vectorizedly
I want to define a function f[x] and then be able to integrate numerically as a vector - not component by component. The following is my failed attempt:
...
2
votes
5
answers
213
views
How can I generate the $z^2$ grid-mapping diagram (rectangular grid → curved grid)?
I would like to generate a diagram in Mathematica showing how the mapping
\begin{equation}
w = z^2
\end{equation}
transforms a rectangular grid in the complex $z$-plane into a curved grid in the $w$-...
2
votes
2
answers
121
views
Log-scaled bar legends in both directions
EDIT: This question has been heavily edited to only show the one question I have without confusion.
I am simulating points $X_j$ and getting outputs $Y_j=f(X_j)+e_j$ where $e_j\sim N(0,3)$ where $f$ ...
1
vote
2
answers
339
views
Creating a spiral
This is both a math question and a Mathematica question. I am trying to draw a simple spiral, and found this diagram that fits what I am trying to create.
Implementing the math, using Mathematica, I'...
6
votes
3
answers
236
views
+400
Extract tick values from a BarChart
This question from nearly ten years ago asks how to overlay plots and other graphics-related objects onto a BarChart.
When that question was asked (November 2015), ...
1
vote
0
answers
127
views
Summation contains additional $\frac{\zeta(3)}{8\pi^2}$ term if evaluated without presimplification
As noted in this math.se question from 2018 (which was using WolframAlpha and Mathematica 7.0, though it persists in 14.0.0), Mathematica's evaluation of the following sum depends on where the ...
2
votes
0
answers
88
views
$Assumptions set in init.m are reset back to True
I set $Assumptions to something in init.m. I followed it with printout to see that it was being set. However, once I get to my ...
0
votes
1
answer
110
views
NMinimize apparently enters an infinite loop
I've stumbled across what seems to be a weird interaction of the NMinimize function.
I'm minimising the function -Log[Sin[2x]] + a Cos[x]^2 for $0 < x < \pi/2$...
2
votes
2
answers
189
views
Finding asymptotes of a function defined by a relation of two variables
Based on this question, how does one analytically compute the asymptotes for the equation defined by:
$$(x+y+2)(x+y)^2 = x+9y-2 ?$$
I can easily plot the curve...
and can manipulate equation for ...
-2
votes
0
answers
73
views
Why iteration fails? [closed]
I'm solving this ODE and it seems that the first iteration (urho[1]) works but when I try to calculate urho[2] it fails. The ...
0
votes
2
answers
140
views
Is there a way to change the behavior of matrices globally?
For instance, I want that Dot would be used as default multiplication of matrices instead of element-by-element multiplication. Similarly, I want any function (such ...
0
votes
1
answer
94
views
NDSolve options for increasing precision near boundaries for "stiff" integration
I'm trying to estimate the solutions u[x,t] to a backward diffusion equation PDE using NDSolve (note - I need the time-dependent solution, as I already have solutions to the equilibrium case where the ...
0
votes
1
answer
171
views
How does Mathematica define the indefinite integral $\int f(x) dx$? [closed]
How does Mathematica define the indefinite integral $\int f(x) dx$?
For example, if you input into Mathematica Integrate[Sin[x], x] it will return $-\cos(x)$ and ...
4
votes
1
answer
141
views
Visualizing multiple paths to infinity in the complex plane using Mathematica [closed]
Hello everyone — I’m reading about the extended complex plane and the “point at infinity,” and I find the geometric picture quite helpful. According to this text, in the complex plane $z \in \mathbb{C}...
23
votes
2
answers
2k
views
Mathematica Functions from VBA
I'm trying to call Mathematica functions from VBA (Excel) using .NETLink without success.
(Yes, I know Mathematica Link for Excel exists. And yes, I know the proper thing to do is buy it. However, it'...
5
votes
1
answer
226
views
Installing ARM Mathematica Version with GUI on Tablet
I'm trying to use Mathematica on my Tab s10 ultra, but I got the error bellow when executing
wolfram
inside the Debian.
There was a problem accessing the VideoCore ...
2
votes
3
answers
227
views
In a nested, ragged list, pairing each element of one sublist with each element of another
This may be a silly question, and if it is, I'm willing to withdraw it. I have a list of lists myInitialList. I wish to write a function to transform ...
0
votes
0
answers
85
views
How should I handle required package dependencies in a package?
I'm writing a package A.
However, package A depends on package B (Mathematica), which the ...
0
votes
0
answers
45
views
Error when saving notebook, Mathamatica searches for a .m file
Whenever I save a my notebook (filename.nb), I get the error "RenameFile: Directory or file
"..path..\filename.m" not found.", and the file doesn't save.
It happens both with ctrl+...
10
votes
1
answer
763
views
Inconsistent DistributionFitTest results?
In pondering this question, I used Mariana's function to generate the following data.
...
0
votes
0
answers
45
views
As shown in the figure, how to draw a graph with a broken y-axis? [duplicate]
Piecewise function. The two segments have significant differences. The y-axis needs to be split to show the trend of each segment, and a connection is required in the middle.
This is quite different ...
3
votes
1
answer
424
views
PowersRepresentations Algorithm
I'm trying to understand the mathematics behind counting the number of representations of a positive integer by $n$ distinct $k$th powers, i.e. I would really like to know how to do the Mathematica ...
2
votes
1
answer
188
views
How would I save changes to a model in SystemModeler?
How would I save changes to a model in SystemModeler? The "File | Save" does not save any changes past the initial model creation.
So far, the only way that I can save changes is to create a new ...
2
votes
0
answers
61
views
how to improve the predictor corrector schemes including computational cost
I am currently implementing a variable-order fractional predictor–corrector scheme in Mathematica. Since I am still a beginner with Mathematica programming, I encountered several issues during the ...
1
vote
1
answer
228
views
How to simplify such that the imaginary part is removed
I'm trying to solve an equation for \Omega and non-zero S.
...
5
votes
1
answer
457
views
How to select from a dropdown list in WebExecute?
After locating the dropdown using the XPath as follows:
element=First@WebExecute["LocateElements"->"XPath"->"..."];
How do I ...
0
votes
1
answer
261
views
Expansion of standard inverse normal cdf
Let $\Phi: x\rightarrow y$ be the CDF of a standard normal distribution. The range of $\Phi(x)$ is $[0,1]$ and the domain is all real numbers.
I want to get a series expansion of $\Phi^{-1}(y)$ around ...
8
votes
7
answers
4k
views
Image of first quadrant under $f(z)=(z+i)/(z-i)$
I'm able to plot the region where Im[z] > 0 and Re[z] > 0:
...
0
votes
0
answers
78
views
Displaying parentheses in axes labels
I have a list plot that I want to plot in a framed graph and have the following labels on the axes.
...
2
votes
1
answer
112
views
3
votes
2
answers
368
views
DSolveValue differential equation list of arbitrary values
I have been solving arrays of differential equations, and recently moved to the general case, where my initial conditions are arbitrary constants (either real or complex). However when I moved from ...
12
votes
1
answer
394
views
Precision of interpolation function after exporting and importing
Bug introduced after 8.0.4, persisting through 14.3.
I've solved a differential equation using NDSolve with a large working precision ...
1
vote
0
answers
122
views
1
vote
0
answers
112
views
Where can I find the source of data which is used by ChromaticityPlot3D?
This question is related to this one. Now I'm interested in the origin of the chromaticity diagrams for different color spaces, which can be found using chromaticityPlot3D. Therefore, I need the ...
1
vote
1
answer
81
views
How to check if two edges have consistent orientation in all simple cycles of a graph?
How can I check whether two edges (tagged "c" and "d") have consistent orientation (either always the same ...
1
vote
0
answers
73
views
Neural Networks and Non Linear Fits
I'm trying to obtain the parameter models for various types of acoustic absorption materials.
When dealing with fiber (polyester, with low flow resistivity), the Wilson model, which has two parameters,...
3
votes
1
answer
156
views
What, if any, is the list analogue of KeyValuePattern?
I am trying to understand the function of KeyValuePattern. According to the documentation,
KeyValuePattern[{patt1, ...}] is a ...
1
vote
3
answers
419
views
How to change the color of the individual squares on a chessboard?
The code I have written to create a chessboard is as follows:
...