Questions seeking help understanding error messages and fixing errors.

learn more… | top users | synonyms

0
votes
0answers
31 views

what the meaning of subscript in matrix below? [on hold]

${-, 0, 0, 0, 0, 0, -((b 1 (1 (n-n 1)-a 2 (-1+2)))/(n ))}, {0, -, 0, 0, - Subscript(1,0)[(n 1 1+a 2 2)/(+),0], 0, -((b  2 (n 1 1+a 2 2))/(n  (+)))}, {0, 0, -g-, 0, 0, 0, (b ...
2
votes
1answer
89 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
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. ...
4
votes
2answers
94 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
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 ...
0
votes
1answer
75 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 ...
2
votes
2answers
70 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
62 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
52 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 ...
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
126 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
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 ...
1
vote
1answer
75 views

Error with using NDSolve [duplicate]

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

Minimization Nminimize nnum error

I have imported data (mat is the name, 1x100 dimensional vector)and written a likelihood function for normal distribution. ...
8
votes
2answers
152 views

How to find out where an error occurs?

I got this error when using Mathematica: ...
1
vote
2answers
49 views
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
61 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
53 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
191 views

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

I tried to solve system of ODEs, but something was wrong. ...
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: ...
0
votes
2answers
137 views

Unknown option LegendPosition (even after Needs[“PlotLegends`”]) (Mathematica 10.0)

I'm running Mathematica 10.0 for Students. When I tried ...
0
votes
0answers
58 views

“Why the Beep?” error when trying to save the document

I am new to Mathematica. I installed it yesterday, opened a tutorial video and after that tried to save my notebook but I got the following error message: Whenever I try to save my document I get ...
2
votes
1answer
68 views

Handling error in WSTP program C/C++

My program is written in C++, used WSTP to communicate with Mathematica 10. In Mathematica I create link Install["name_program"]. How should my code report an ...
4
votes
2answers
173 views

Why can't a Plot be rendered by Graphics if it's a member of a list?

I grabbed the code to render a gear from a Mathematica Demo, but I'm having difficulty reproducing the way it's to be used: ...
3
votes
2answers
263 views

SystemException[“MemoryAllocationFailure”, …] with NMaximize

I have a complicated analytical expression that needs to be maximized with respect to a parameter t: ...
1
vote
0answers
105 views

What does this Java error mean? Why is it raised?

I want to launch some kernels on a cluster that uses SGE. The server's operating system is Linux Cent-OS. According to Mathematica documentation, I've added these commands inside my code: ...
2
votes
1answer
106 views

Breaking out of NDSolve

I am solving a coupled set of differential equations with NDSolve for 6 unknown functions of time. At a certain point in time, the system hits a singular point where the potential governing the ...
0
votes
1answer
192 views

Help Please : Error in plotting the solutions of FindRoot

I want to find the roots of an equation using FindRoot as a function of a real parameter K and then plot the real and imaginary solutions vs. the parameter K. The function I'm trying to find the ...
1
vote
0answers
87 views

Error associated with parameters in Minimize (or NMinimize) in discrete fitting

my problem goes as follows: I need to a discrete fit of a discrete function. Say I have the following made up data points, which are generated by the parabola ...
3
votes
1answer
130 views

Inverse error function

I solved some equation in Mathematica and I obtained something like $$y(t)=\exp \left\lbrace \left[ \text{erf}^{-1} (\text{i}t) \right]^2\right\rbrace, (1)$$ where $\text{i}$ is imaginary unit and ...
1
vote
1answer
84 views

Mathematica integration error

Integrate[Integrate[Abs[Exp[2*Pi*I*x] + Exp[2*Pi*I*y]], {x, 0, 1}], {y, 0, 1}] yields 0 as result. This cannot be correct, ...
1
vote
2answers
82 views

Plot3D and NIntegrate issues

f[x_, y_] := 2*x - y Plot3D[f[x, y], {x, -1*Sqrt[4 - y^2], Sqrt[4 - y^2]}, {y, -2, 2}] NIntegrate[f[x, y], {x, -1*Sqrt[4 - y^2], Sqrt[4 - y^2]}, {y, -2, 2}] I ...
5
votes
1answer
90 views

Error messages from TensorContract and TensorReduce

I am struggling with a few errors when using symbolic tensors. I am using mathematica 9.0.1.0, linux x86. The following code generates what seems to me an incorrect tensor, this is the smallest ...
1
vote
0answers
110 views

Taking a derivative, then squaring a two dimensional numerical function

Context I am interested in first finding an interpolating function of the solution to the linearly damped wave equation. Here is the solution to the LDWE with smooth square inital function : ...
2
votes
1answer
302 views

Remote Kernel Setup: SSH fails with exit code 32512

I am having trouble with configuring parallel kernels. What I want to do is the following: run remote kernels on my home server to which I would like to connect from work using my laptop. Both ...
3
votes
0answers
119 views

Increasing MaxPoints in NDSolve results in memory issue

I am interested in increasing "MaxPoints" in NDSolve's "MethodOfLines" in attempt to increase the resolution of the plot of the solution of linearly damped wave equation with transparent boundary ...
6
votes
2answers
232 views

Modifying parameters: Set::setps in the part assignment is not a symbol [duplicate]

Ok, this will probably be a silly question, but I can't get my head around it. I'm making a simple module that, given a list and two integers, will swap the position of the elements in the ...
1
vote
0answers
163 views

NDSolve Wave Equation - Triangular Wave Pulse Inital Condition

I am trying to solve a simple damped wave equation with transparent boundary conditions with triangular shaped piecewise function as my initial condition. I understand that there are issues with this ...
0
votes
0answers
67 views

How to remove error at large time in NDSolve

I am kind of amazed by the fact that Mathematica V9 can't solve a linearly damped wave equation at large time t=200 while Mathematica V8 does without giving me a huge deviation. Intuitively, an ...
1
vote
0answers
55 views

Mathematica copies extra characters at the end of text blocks

This is something I've been noticing for some time, but I haven't found any mention of this online, so I'd like to know if it's been seen before, if it is a (known?) bug, and whether there exist ...
4
votes
1answer
172 views

CUDALink Error: A CUDALink kernel timed out?

I'm following the CUDALink tutorial [ http://reference.wolfram.com/language/CUDALink/tutorial/Introduction.html ] and everything is going fine until I get to the part that calls CUDADot on the ...
5
votes
4answers
128 views

Passing a variable messages list to Quiet

I'm trying to build a Verbose option into some code but I'm having trouble passing to a Quiet statement a variable list of which messages I want to suppress. My ...
0
votes
1answer
109 views

Problem with Maximize

As $\{p1,p2,p3,p4,p5\}$ represents a probability distribution and $l1,l2$ are the eigenvalues of a stochastic matrix, the function $f$, as defined below, has to be maximized over a certain region. ...
1
vote
0answers
65 views

Internal self-test error MLParseStream|c|297

I have been plotting time-dependent vectors. Earlier I used the following plotting options: ...
2
votes
3answers
745 views

How to use this Lorentzian function fit my data, I tried NonlinearModelFit, it always resulted with an error

The data is uploaded to Ideone http://ideone.com/ktIbVk , my code is : ...
3
votes
1answer
132 views

Aborts and beeps without error warning

I have a piece of code that generates a figure, performing a calculation to generate each pixel. At a certain resolution it runs fine, but after a high enough resolution it fails. Mathematica beeps ...
0
votes
2answers
122 views

Update: Interpolation error message? [closed]

I have the following data that needs to be analyzed : data = ToExpression@Import["http://pastebin.com/raw.php?i=8XKGYvSy", "Data"]; I have 6 sets of coordinates ...
1
vote
1answer
355 views

Plot has red 'film', no error message

I am encountering really strange behavior: I wrote a function that plots values some data. After executing the code the resulting plot has the red 'error' colour, but only momentarily (maybe 0.1 sec). ...
0
votes
0answers
109 views

NDSolve :: ndode error while solving an coupled ODEs

I have a scenario where in trying to solve for the ground-state of a Hamiltonian, I require to be able to solve some coupled differential equations. Prior to this I have already set k=1 and Δ=5 $$ ...