# Questions tagged [error-tracking]

The tag has no usage guidance.

96 questions
Filter by
Sorted by
Tagged with
40 views

### Could you help me understand where in my code I produce a list with a specific dimension?

I am reading force.txt files from series of folders nb100, nb200 ,nb300, ... . and I need to save the related results as result100, result200, ... in the related directories. In order to do that I ...
49 views

### Stopping control of oscillating converging error

I am doing many simulations of nonlinear differential equations. The differential equations are of the form $$y''(t)+g\left(y(t),y'(t)\right)=p \cos (2 \pi f t)$$ The solution settles to a periodic ...
• 16.5k
1 vote
55 views

### How can I set up and simulate an Ornstein–Uhlenbeck process that depends on the proportional deviations from the steady state?

I'm trying to set up a stochastic differential equation and run numerical simulations for the following process: \frac{dV_t}{V_t}=\left[M+\gamma\left(M-\left(\frac{V_t}{V_{t-1}}-1\right)\right)\...
1 vote
91 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 ...
• 1,065
126 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, ...
• 4,093
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 ...
• 923
1 vote
71 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 ...
• 1,287
60 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: ...
80 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 ...
• 73
146 views

### Mathematica flips the sign of a Maclaurin series

I have the following Mathematica code: ...
• 2,253
91 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 ...
• 2,390
1 vote
95 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 ...
• 505
1 vote
242 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 ...
• 505
67 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 ...
• 505
234 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: ...
• 23.7k
42 views

• 1,447
1 vote
796 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
• 135
89 views

### Issues with symbolic integration

I am trying to do the following indefinite integral, ...
• 183
274 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 ...
• 1,419
1 vote
209 views

### Avoiding a for loop to create a list

I am trying to evaluate: ...
1 vote
123 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 GeneralUtilitiesWithMessageHandler. ...
• 13.7k
105 views

### Ignore message in Check` without silencing

Check[expr,failexpr,checkedMessages] will evaluate expr and if it encounters any of the messages in ...
• 1,223
73 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. ...
• 1,223
1 vote