# Questions tagged [error-tracking]

The tag has no usage guidance.

60 questions
Filter by
Sorted by
Tagged with
2k 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 ...
50 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 ...
82 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 ...
51 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 ...
26 views

### Error messages in a notebook

I write on the Mathematica notebook NSum[(1 + k^2 + l^2 + m^2)^{-1.75}, {k, -Infinity, Infinity}, {l, -Infinity, Infinity}, {m, -Infinity, Infinity}] and it ...
50 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 == 1}, y, {x, 0, 30}] I think it ...
39 views

220 views

### How to disable roundoff error tracking in arbitrary precision arithmetic?

In my calculations I need some larger precision. But due to the fact that I iteratively refine the results to compensate for rounding errors accumulated in previous iteration, Mathematica's arbitraty ...
161 views

### Why do I get number with Precision larger than error estimate?

I'm trying to integrate a large function like this ...
169 views

### How to get a list of indices at which errors occur during iteration

I have been looking at some of the questions regarding error handling but i think my problem is unique. I am running a Do-loop. I get errors only for certain values of the loop variable due to the ...
675 views

### Solution of a System of Equations Using Solve`

Part 1 I am trying to solve a simple system of equations as follows Solve[{A x^B == f, A y^B == g}, {A, B}] But I just get the error Solve::nsmet: This ...
563 views

### How to plot a function whose constant parameters have associated uncertainties in Mathematica 8.0?

Let's assume I want to plot the function $f(x)=a + bx+ cx^{2}$, where experimentally known values of parameters $a, b$ and, $c$ are as follows: $a=1.01 \pm 0.18$ $b=0.92 \pm 0.11$ $c=2.2 \pm 0.2$ ...
246 views

### What is the simplest way to determine which call to a superfunction has generated a Message?

I have a complicated function which contains many calls to NIntegrate, NSolve, FindRoot and ...
64 views

### Error in the exercise or in mathematica settings

I am going through Kenneth Rosen's book about discrete mathematics. Chapter 1 there is a example where we build functions to check valid conclusions. Here is the code: ...
230 views

### Goal optimization: finding the best combination of capacitors and resistors resulting in given properties

I want to edit @MarcoB answers (because the code he gave doesn't answer the question appropriately)->(the function that need to be optimised is not implemented as asked) But it seems like I am having ...
163 views

### How to count the actual occurence of a warning message in a Do loop?

I am running a lot of simulations to fit a model to randomly generated data. Sometimes the fitting converges properly sometimes it does not, but it will give you the fitting parameters anyway. I would ...
542 views

...
559 views

### MathKernel doesn't return all Messages

In Mathematica I run this command: Plot[Sin[x], {x, 1, 15}, GridLines -> error] It generates a Plot with this error message: A GridLines specification ...
3k views

### Mathematica Debuggability

One of the things that I really dislike about Mathematica is its lack of debuggability compared to many other programming languages. Some of the problems arises from the functional nature of ...
210 views

### How can you link Parallel Mapping and Error tracking

Following this question and the comments made, together with the information in this question, the following code allows error tracking and debugging very nicely. ...
225 views

### Dealing with errors and resuming the code after one

How can I write my Mathematica code so that it resumes at a specific place if any Message is displayed during the execution of an expression? For example, in Visual ...
453 views

### How to write a function-defining function which stores the function arguments in a stack?

I have a function-defining function SetAttributes[DefFn, HoldAll]; DefFn[f_[args___], body_] := f[args] := body; I am trying to modify this function to record ...
209 views

### Adding Trace produces error messages

This is very strange. As I was trying to debug this problem, I noticed when I add Trace then I get lots of internal errors generated. This also happens the first ...
105 views

### Show error messages from collapsed sections

I've got a fairly long notebook. I like to have most of the sections collapsed. If I evaluate the entire notebook I don't see errors in the collapsed sections unless I expand them. I did see that I ...