Questions seeking help understanding error messages and fixing errors.

learn more… | top users | synonyms (2)

0
votes
0answers
18 views

Set::setraw error help includes Module

Simple program for euler's method, I know what the error means just not how to fix it. Where do I need to put each variable? ...
0
votes
1answer
33 views

Error message when exporting plot as XLS file

I imported data from excel which has 300 data (which are change in CDS spread). I want to compute corresponding CDF for the data using kernel density estimation. I get the CDF plot but cannt get the ...
8
votes
2answers
66 views

Using Merge[Identity] and Transpose on a Dataset

While experimenting with this answer, I ran across the following: ...
3
votes
0answers
58 views

INTERNAL SELF-TEST ERROR: Printing|c|3530

In the last two weeks, Mathematica works correctly, but every time I start it, the following message appears: The link sends me to this page. What happens? How can I correct it? I run version ...
10
votes
1answer
1k views

What does the message 'This file contains potentially unsafe …' mean and how serious is it?

I had some Mathematica files on over which recently I have faced to this message: However, after searching, I have seen some blogs in Mathematica SE or in somewhere else about that, but I could not ...
4
votes
2answers
134 views

FEM giving “ … is not a polynomial error”

Executing the program below I get the ... is not a polynomial error message. I don't have an idea why I am getting this -- any suggestions? ...
2
votes
1answer
58 views

Stopping NDSolver at time of error

I am using NDSolver and WhenEvent to solve a system of differential equations. I get this message: ...
2
votes
1answer
104 views

solve nonlinear equations with NDSolve

I am trying to solve a set of equations with NDSolve. one of them is mg*yg''[t] == NN[t] - kb*yg[t]^1 - cb*yg'[t], When the power of yg[t] is 1 the equations could ...
0
votes
0answers
19 views

Protected Tags Error [duplicate]

While trying to run this piece of code: ...
13
votes
2answers
349 views

Is FrameTicks broken in 10.1.0?

On my system, Mathematica 10.1.0 under Windows, none of these FrameTicks documentation examples work correctly: ...
2
votes
1answer
121 views

Mathematica error code 0x00000171

I'm getting above error code with a Trap 132 indication when attempting an ArrayPlot of a complex 130000 x 2048 matrix. Using Mathematica 9.0.1 with Mac OS 10.10.3 ...
0
votes
2answers
46 views

Troubleshooting Program Meant to Swap Elements

I wrote a program that is supposed to take a list (of arbitrary length) of pairs of the digits of binary numbers (e.g. ...
2
votes
1answer
39 views

Indeterminant expression encountered in Summation

I have a function that I'm trying to find an explicit form for the coefficients in its power series expansion. On paper, it is a long calculation so I decided to write up the formula in mathematica. ...
4
votes
2answers
98 views

Why doesn't ParallelTable work on this very simple example?

For some reason, I'd like to use ParallelTable with a variable number of iterators. Table[a[1], {a[1], 0, 10}] works fine: ...
0
votes
1answer
81 views

Integral evaluation error

I have the following integral that I wish to evaluate using Mathematica: ...
0
votes
1answer
55 views

Mathematica Code Involving For Loops Not Completing All Iterations [closed]

First of all, thank you for taking the time to read this. I'm working on a portion of code related to the genetic algorithm that is not producing the expected results. What the code is supposed to do ...
14
votes
2answers
365 views

Error “Throw::nocatch: Uncaught Throw[False] returned to top level” given each time I open a new Mathematica 10.1 session

Bug fixed in 10.1.0 via paclet update From a few days now each time I open a new Mathematica session I get the small error messages window with the error ...
-1
votes
1answer
148 views

Strange bug involving a list, “Objects of unequal length” [closed]

sortedTally is a list generated from Tally sortedTally[[1]][[1]] is a list If I print: ...
0
votes
1answer
79 views

How to identify and remove errors in a list

After some searching, I did not find a solution to the following problem, which in my thinking should have some very easy/efficient solution. I'm looking at a list of images (faces), that I want to ...
0
votes
2answers
63 views

Function works only after printing variables inside [closed]

For the input: pickTwoParts[{a, b, c}], the right output is: {{a, a b, a c, b, b c, c}, {b c, c, b, a c, a, a b}}. I am getting that output, but only after uncommenting the lines: ...
2
votes
2answers
72 views

FindDistributionParameters gives an error for a mixture of user defined sinh-arcsinh distributions

I have some data (1593 values). I first binned it using the Knuth rule and fitted a function that is a linear combination of two sinh-arcsinh functions. I then ...
1
vote
1answer
68 views

Plot x and y ErrorBars from file

If I have a set of data like this one saved in a txt file ...
0
votes
1answer
54 views

NDSolve::bcsol?

I'm writing a code to numerically solve a differential equation. It has to repeat the process several times since there is a variable involved which is unknown, and the equation is fit to some ...
1
vote
1answer
50 views

NMinimize error: Nearest::neard:

I have this function GuessError, here's a plot assuming a single variable x, Plot[GuessError[10^x, etc..], {x, 8, 12}] , being etc some more variables which are ...
2
votes
1answer
60 views

Why isn't Table iterator value inserted in failed NIntegrate arguments?

Consider this simplest example: Table[{z, NIntegrate[f[x], {x, 0, z}]}, {z, {1}}] Here f is not defined, so ...
1
vote
0answers
31 views

Understanding HoldSequence and ReleaseHoldSequence in Error Handling

I was playing with GeneralUtilities`PrintDefinitions in V10.1, and find some of native Mathematica functions using ...
0
votes
1answer
65 views

NIntegrate producing SetDelayed::write message [closed]

I used NIntegrate to calculate an integral with the final limit as a variable, which later will be listed in a table, ...
2
votes
1answer
61 views

How can I correct error message that appears each time I launch Mathematica?

Each time I launch Mathematica I get the following error message : The specified setting for the option Magnification cannot be used. I have gone to the option inspector and have confirmed that the ...
0
votes
1answer
75 views

SIGSEGV Error on Plotting Tubes

I have code to plot some "2 dimensional" points in 3D space, and connect a line between them (because ListLinePlot3D takes way to long/hangs), which works fine: ...
3
votes
3answers
131 views

Reduce gives wrong solutions

Given the follwing system of equations eqs = { x/(x - 2) - 4/y == 1, x/(2 + 1/y) == y/(3 - 1/x) } Although the domain of this system does not contain ...
0
votes
1answer
41 views

Using Check[] on multiple statements

I am using a loop to run run multiple fits. If a fit fails, I don't want it to either appear in my data or to affect later fits so I am using the Check[] function to catch if any errors occurred (I'm ...
0
votes
1answer
35 views

aborting at a message, but still save data

This may be an easy question, but I can't find it anywhere. I have a code which solves linear equations in a do loop (possibly compiled) using LinearSolve. To save the results I use Reap and Sow. It ...
0
votes
1answer
32 views

Null result with Catch and Throw [closed]

I am trying to solve a physics problem of a man in a ferris wheel that needs to jump off at a certain angle to land in a boat that is moving at a constant velocity, however, whenever I compile my ...
2
votes
1answer
81 views

Why this error?

f[x_] := Piecewise[{{1, -0.5 <= x <= 0.5}}, 0]; ProbabilityDistribution[ Integrate[f[a], {a, x - 0.5, x + 0.5}], {x, -2, 2}] output: "Unable to prove that ...
1
vote
1answer
76 views

Error with using NDSolve [duplicate]

I am currently trying to numerically solve a system of differential equations. Here is my code: ...
10
votes
1answer
159 views

Enigmatic message about MaxBend

Referring to the method I proposed for Problem with ParametricPlot Mathematica 10.0.2 throws an enigmatic error message: ...
0
votes
0answers
29 views

Is there any way to get more info on an error message?

Many times I receive messages but can't find any documentation on what it means. For instance today I got this error: ...
0
votes
1answer
67 views

Minimization Nminimize nnum error

I have imported data (mat is the name, 1x100 dimensional vector)and written a likelihood function for normal distribution. ...
5
votes
1answer
100 views

Compilation of `Total` with CompensatedSummation

I sometimes obtain an unexpected error when trying to call a compiled version of Total with compensated summation turned on. More specifically I define ...
9
votes
2answers
162 views

How to find out where an error occurs?

I got this error when using Mathematica: ...
1
vote
2answers
50 views

How to catch and fix a warning/error that goes away almost immediately?

I wrote the following code ...
0
votes
1answer
48 views

How to switch on error messages in mathematica 10?

I have mathematica 10 and 8 on different computers. Version 8 always shows me the error message about what goes wrong while I don't see any error message in version 10. I find it quite inconvenient as ...
0
votes
2answers
103 views

NonlinearModelFit errors

I have read through other forum posts and have seen a few things that I thought would help but I am still having issues. I'm trying to fit some calibration data and am at first getting the error ...
1
vote
2answers
60 views

Using manipulate with a defined funtion to solve a ODE

As many in this community I'm new in Mathematica and while exploring the numerical solver for differential equations, I tried: ...
0
votes
0answers
63 views

How can I compare two iteration results and define error?

I have code for Muller's method, I used command While. At the end I have to compare iteration result with previous iteration result and define error. I can write this condition: ...
2
votes
2answers
55 views

Cannot use the MultinormalDistribution code

I am trying to use the MultinormalDistribution code with the Quantile function to get the 0.01 quartile of the multinormal ...
1
vote
1answer
37 views

Generation of list of values for small gap among values

I need to run a loop as Table[expr,{i,imin,imax,di}] where I want di to be as small as order of ...
1
vote
1answer
201 views

error DSolve::dsfun: cannot be used as a function

I tried to solve system of ODEs, but something was wrong. ...
1
vote
1answer
65 views

How to do predicate logic in Mathematica

I'm trying to formalize and analyze the following reasoning: All equilateral triangles are isosceles triangles. Some triangles are not equilateral triangles. Therefore some triangles are not ...
0
votes
1answer
67 views

Correct use of Solve inside Compile

I have a function that behaves itself, but I want to make it much faster so I tried to put it into a compilable form After much fiddling I can't get it to work. Here's one of my failed attempts: ...