Questions tagged [error-tracking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
74 views

How to compare simulated and experimental data?

I have numerically simulated and experimental data, I want to compare them and find the variation against numerical data. I do not have any idea about it. I just plotted experimental and simulated ...
Gopal Verma's user avatar
  • 1,055
4 votes
1 answer
124 views

Why is there an error about division by 0?

I'm converting all of my old Mathematica 7.0 codes to my new Mathematica 13.2, and I'm struggling with some issues I didn't encounter with version 7.0. The following code is giving me a headache, ...
Cham's user avatar
  • 3,969
0 votes
0 answers
30 views

Fixing the following error message for the simple substitution $ j[bb, a1, a2] //. {j[bb, ll__] -> List[ll].List[b1, b2]} $

For a given Mathematica code j[bb, a1, a2] //. {j[bb, ll__] -> List[ll].List[b1, b2]} I obtain the desired answer which is ...
phy_math's user avatar
  • 803
0 votes
0 answers
55 views

Graphics HatchFilling not working, Causes crash

I cannot use HatchFilling in my Mathematica v13.0.1 on Windows. Whenever I use it, both Mathematica's front end and Kernel crash. When I open the documentation ...
KratosMath's user avatar
  • 1,243
0 votes
1 answer
59 views

Seemingly inconsistent appearance of the Part error message

I'm new to mathematica and have been trying to create a graph with edge weights defined by patterns. Here is a code snippet: ...
potscratch9's user avatar
7 votes
1 answer
79 views

Check applied to list is not the same as list of Check

My question is in two parts. First, I want to know why Check[#, "Failed"] &@{0^0, 1^1} evaluates to ...
Nic's user avatar
  • 73
4 votes
2 answers
143 views

Mathematica flips the sign of a Maclaurin series

I have the following Mathematica code: ...
codebpr's user avatar
  • 899
0 votes
0 answers
70 views

"Could not read some data from some file"

This problem happens quite regularly. Does anyone know how to solve it? This is the information about the software. I'm wondering if this is related to Google Drive storage. The file is saved ...
hana's user avatar
  • 2,688
1 vote
1 answer
73 views

Plotting multiple series with ListLinePlot

I would like to plot 2 series of data on a ListLinePlot. One is made up of a single line, one is split. Each one would ideally be separately coloured lines and noted in the legend. I think I've ...
Epideme's user avatar
  • 505
1 vote
0 answers
182 views

ListLinePlot is not a list of numbers or pairs of numbers

I am getting this error 'ListLinePlot is not a list of numbers or pairs of numbers' However I'm not really sure what it means, the data set is a list of pairs of numbers. Even the more complex version ...
Epideme's user avatar
  • 505
0 votes
1 answer
56 views

ListLinePlot Options Expecter Error

The Problem I am trying to plot a ListLinePlot, and despite it being only a modified version of a working code, it now isn't working. It gives the error: ListLinePlot::nonopt (i.e. Options Expected ...
Epideme's user avatar
  • 505
11 votes
4 answers
221 views

How to detect errors that happen in the FrontEnd? [duplicate]

Some errors only seem to be produced at the point of typesetting, making it very difficult to detect them early. For example: ...
Sjoerd Smit's user avatar
  • 21.9k
0 votes
1 answer
42 views

Error handling of Databin

I am using Databin in a FormFunction and would like to check whether the DatabinAdd[] was successful. If it is not I get a \$Failed but I am unable to check for it. ...
Matariki's user avatar
  • 3,372
1 vote
1 answer
93 views

Plotting SD at each point

I have a question to plot out the standard deviation for my graphs: How can I plot out the SD values in each point such that the max and min will start from 0 and not an offset standard deviation (SD) ...
Boajj04's user avatar
  • 300
0 votes
0 answers
26 views

Interpolating function error: stack trace value and notebook give different values for the out of bound inputs

So, I get the input out of bound error, in the notebook out put. ""Input value {3.,1.5708,3.14159} lies outside the range of data in the interpolating function." Values {3,Pi/2,Pi}. ...
Tomás Alvim's user avatar
0 votes
0 answers
116 views

The scaled boundary value residual error in NDSolveValue

What is the reason behind getting the following error? ...
Sazedur Rahman's user avatar
2 votes
1 answer
87 views

Trouble Finding the period of a function [closed]

I want to use Mathematica to compute the period of the function $F(t)=\cos t - \exp \left( - \sum_{k=1}^{50} \frac{\sin (kt) }{k} \right) -\sum_{k=1}^{50} \frac{\cos (kt)}{k}$, so here's my code ...
user avatar
4 votes
4 answers
175 views

Error when placing legends

Consider the following plot plot = ListLinePlot[{{{0, 0}, {1, 1}}, {{0, 0}, {1, .8}}}, PlotLegends -> Placed[{"1", "2"}, {.8, .4}]] When I ...
sam wolfe's user avatar
  • 4,179
0 votes
0 answers
100 views

WebSearch Stopped Working

I've been using 'WebSearch' and 'WebImageSearch' quite a lot recently to sample images for my work. However, these functions suddenly stopped working. When I evaluate, for example, ...
sam wolfe's user avatar
  • 4,179
2 votes
0 answers
51 views

Error when exporting

Imagine I have a list of plots, call it frames, and I rasterize them in order to have a smoother exported video, like so ...
sam wolfe's user avatar
  • 4,179
1 vote
0 answers
119 views

"Show Stack Trace" option always missing from error context menu

According to the Wolfram Language documentation, there should be an option in the context menu to see the stack trace: But I never see that option in my context menus: Is there a specific global ...
Shredderroy's user avatar
  • 5,117
1 vote
0 answers
104 views

What do do if Mathematica stops without error messages?

I am trying to run the relatively simple code ...
user avatar
0 votes
0 answers
39 views

Rigorous upper bound on the absolute approximation error of an output of `NIntegrate`

Is there a way to use Mathematica to obtain a guaranteed, rigorous upper bound on the absolute approximation error of an output of NIntegrate (as an approximation ...
Iosif Pinelis's user avatar
0 votes
0 answers
110 views

fixing the error: " The current computation was aborted because there was insufficient memory available to complete the computation. " in mathematica

...
Aya's user avatar
  • 69
1 vote
0 answers
53 views

Why do I get the (NMinimize::nrnum) error and how to fix it?

I have an energy function which depends on the angles of the electrons({x} symbol for theta) and phase of electrons({y} symbol for phi). I am using NMinimize to minimize the energy with respect to {x}...
Delaram Nematollahi's user avatar
0 votes
1 answer
44 views

Graph Plotting Error - NonLinearModel and 'neither a list of replacement rules nor a valid dispatch table' [closed]

I am trying to produce a nice looking graph from Mathematica. (if any background on that is required, I am happy to share, but I'll keep it short for now unless anyone is interested) Question: ...
Epideme's user avatar
  • 505
1 vote
0 answers
63 views

Unexpected behaviour of SolveAlways

My problem is quite simple and I cannot spot if this is my mistake or some malfunction of mathematica. I am using ...
user avatar
1 vote
0 answers
36 views

spontaneously quitting kernel, assignment and packed arrays

I am having an issue where the kernel spontaneously quits, deep in a long code that I have used for quite some time without this issue. I've tracked it down to an assignment of the form: a[[All, All, ...
Jansen's user avatar
  • 1,223
1 vote
0 answers
92 views

Why is Mathematica saying this sequence tends to $0$?

I am a complete novice in Mathematica so please bear with me. I am trying to graph a sequence that converges to $\pi$ but after $27$ iterations Mathematica just goes crazy and I am not sure why. I got ...
2132123's user avatar
  • 657
0 votes
1 answer
209 views

Error test failure for the following system

My question is about a reason of the inability of Mathematica to integrate the given system of differential equations, that depends on parameters, in a stable way: for some values of the parameters ...
John Taylor's user avatar
  • 4,681
0 votes
0 answers
447 views

Mathematica stops working with no warning/error

I have some long computations on my Mathematica notebook. For some reason they stop and Mathematica gives me no reason as to why. No warning. No erros. If run the "Initialization Lines" (...
João Viana's user avatar
1 vote
0 answers
59 views

RegionPlot outputs System`ReduceDump`

I'm using Solve[] to find the solutions to a system of equations, then checking their stability in a Hessian using ...
Barnacle's user avatar
1 vote
1 answer
91 views

Strange error not found in a monte carlo code, Infinite expression 1/0 encountered

I've been trying to code a kinetic monte carlo simulation for a dimerization reaction, 2M ---> D. However I have a kinetic Monte Carlo code for a first order decomposition reaction of AIBN (that's ...
Nebula's user avatar
  • 13
2 votes
1 answer
517 views

How to implement an "if an error occurs"-condition in Mathematica programming?

In general Mathematica may return a value even if NDSolve has run into error. A simple example is ...
user avatar
1 vote
1 answer
68 views

Why does the mix of Exclusions and SymbolicProcessing->0 sets my integral to $0$?

I am trying to compute a $5$-dimensional integral, which may or may not be zero. I do believe it is finite though, at least for the values $\epsilon$, $\sigma$ used here. The integral is given in the ...
Pxx's user avatar
  • 691
6 votes
2 answers
170 views

How to Quiet[] only the first argument of Check[]?

I have a Check of the form Check[expr,failexpr, {NIntegrate::slwcon}] If expr throws slwcon, I would like to redo the calculation with higher precision by ...
doublefelix's user avatar
1 vote
1 answer
113 views

Catching NDSolve Singularities

I am using NDSolve to solve a system of equations with changing initial conditions (I'm using NDSolve multiple times). However, for particular initial conditions I am getting an effective step size of ...
Minkowski_in_a_onesie's user avatar
0 votes
2 answers
148 views

NDSolve: How to perform a reverse integration consistency check?

Let there be the following NDSolve code: s = NDSolve[{y'[x] == y[x] Cos[x + y[x]], y[0] == 1}, y, {x, 0, 30}] I think it ...
student's user avatar
  • 53
2 votes
1 answer
47 views

How can I properly use Catch[] to prevent my program from quitting?

I am getting an error depicting an Uncaught Throw, with the accompanying code being returned: Hold[Throw[$Failed, CURLLink`Utilities`Exception]] I have managed ...
Jmeeks29ig's user avatar
  • 1,427
1 vote
1 answer
722 views

Why does Mathematica just return Hold of my Input? [closed]

Example: Solve[x^2 + a x + 1 == 0, x] Output: Hold[Solve[x^2 + a x + 1 == 0, x]] What is the problem? Any child can solve this in its head
OD IUM's user avatar
  • 135
2 votes
0 answers
89 views

Issues with symbolic integration

I am trying to do the following indefinite integral, ...
Jaswin's user avatar
  • 183
5 votes
1 answer
269 views

Raise Warning/Error on invalid Matrix Addition and Multiplication

Consider the following code: DiagonalMatrix[{1, 1, 1}] - 1 Mathematica interprets it in the way, that it substracts 1 from every matrix field while ...
infinitezero's user avatar
  • 1,357
1 vote
2 answers
205 views

Avoiding a for loop to create a list

I am trying to evaluate: ...
TheInvoker's user avatar
1 vote
0 answers
117 views

raise error on type mismatch

Is there a best practice for raising an error on a type mismatch? For compiled functions I'm guessing the answer is the use of GeneralUtilities`WithMessageHandler. ...
Alan's user avatar
  • 13.6k
5 votes
1 answer
98 views

Ignore message in `Check` without silencing

Check[expr,failexpr,checkedMessages] will evaluate expr and if it encounters any of the messages in ...
Jansen's user avatar
  • 1,223
0 votes
0 answers
71 views

customisable error checking, message handling code

I have an iterated computation running in a while loop, which is bound to fail at some point, at which point I want it to stop, e.g. ...
Jansen's user avatar
  • 1,223
1 vote
0 answers
24 views

How to get a value from Error message? [duplicate]

I've looked pretty hard for a solution to this issue with no luck. Hope you could give me a clue: When I run NDSolve I get the following error msg: ...
Ofek Peretz's user avatar
1 vote
0 answers
934 views

Kernel shutting down automatically with no error

What are the possible reasons why a kernel exits and the computation simply stops without printing out an error message? In case the specific scenario is required, it is as follows but perhaps the ...
MvP's user avatar
  • 265
3 votes
1 answer
217 views

Large residual error when solving a 2D BVP with NDSolve and Finite Element Method

I'm trying to solve a simple PDE (an inhomogeneous Helmholtz equation) in a disk domain with center at $(1,0)$ and radius 0.5 using the following commands ...
SpaceChild's user avatar
9 votes
2 answers
5k views

Histogram with Error bars

I have a dataset for which Mathematica easily creates a Histogram. However I also need Mathematica to show error bars corresponding to 3 standard deviations for ...
Heerak Banerjee's user avatar