Questions tagged [warning-messages]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 views

How to plot the derivative of a piecewise discontinuous function (by excluding discontinuity points)

With the following code I am trying to get a plot for the derivative of the ftot1 function, which is a piecewise discontinuous function defined as the sum of other two piecewise discontinuous ...
user avatar
  • 1
0 votes
1 answer
31 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 ...
user avatar
  • 471
3 votes
2 answers
135 views

BoundaryMeshRegion Error: Boundary surface is not closed

I am trying to create a BoundaryMeshRegion comprised of many cubes with random locations, in a relatively small region. I have had success implementing my technique for a smaller number of cubes (say,...
user avatar
  • 353
1 vote
0 answers
33 views

Why does Mathematica seem to give this `DSolveDispatchODE` error seemingly at random with `DSolve` despite working

I have tried the following 4 test cases for DSolve: Gives correct solution with DSolveDispatchODE error ...
user avatar
  • 707
11 votes
4 answers
171 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: ...
user avatar
  • 18.8k
4 votes
1 answer
117 views

General::munfl: - too small to represent as a normalized machine number error

I've been working on this code and finally got it to a point where it produces something. But there seems to be an underflow problem. I believe this happens when Exp[] is used and tried to fix it to ...
user avatar
  • 405
3 votes
1 answer
226 views

Semi-classical approximation of modified Schrodinger's equation on a sphere leads to ndsz warning

I know this error is very common. I checked out a good number of proposed solutions to this problem, but unfortunately, none of them helped in my case. I would appreciate any help or hints on how to ...
user avatar
  • 33
4 votes
0 answers
58 views

Plot3D Power::infty error I do not understand

I am receiving Power::infty error when running the following code (and nothing is plotted). Plot3D[1/k, {m, 0, 1}, {k, m + 1, m + 2}] The k variable is in [1,3] and ...
user avatar
  • 141
1 vote
1 answer
58 views

NDSolve error message: "The function value {0,0,0}==0 is not True or False..." [closed]

When I run NDSlve with the following equation, it returns the right result but also prints the error messages, that I don't understand: INPUT: ...
user avatar
4 votes
1 answer
80 views

How to plot both x and y error bars? [closed]

It used to be possible to plot both horizontal and vertical error bars ErrorlistPlot and ErrorBars. However, this has been removed since version 12. It seems that Around only allows vertical error ...
user avatar
  • 125
1 vote
0 answers
52 views

Error when fitting experimental data containing zero with a log model [closed]

I am trying to fit a set of experimental data with a model using NonlinearModelFit, but I receive an error message that I have been unable to fix. The error message I receive is shown below. Please ...
user avatar
0 votes
1 answer
52 views

Problem with stiffness suspect and local spatial error when using NDSolve

I'm actually having a problem to solve this PDE, in $0\le x \le 1$ and $t>0$: $\frac{{\partial u}}{{\partial t}} + \tau \frac{{{\partial ^2}u}}{{\partial {t^2}}} + \frac{{\partial f(u)}}{{\partial ...
user avatar
  • 5
2 votes
0 answers
37 views

FileNames error (General::dirdep) with long Windows path names

I'm trying to use Mathematica to analyse data that's saved (by my colleagues) to https://drive.google.com/ but I have run into a problem with the full pathname of files exceeding Window's limit of 239 ...
user avatar
  • 71
1 vote
1 answer
48 views

How to solve the error information in numerical integration and solve Sp?

How to solve the error information in numerical integration and solve Sp? The codes are as follows: ...
user avatar
  • 177
10 votes
0 answers
148 views

Reduce: Var is not a valid variable

Bug introduced in 12.3 or earlier and persisting through 13.1 or later I am trying to integrate the following but it returns a Reduce::ivar warning message. ...
user avatar
  • 1,446
1 vote
0 answers
33 views

How to authomatically extract info from error messages [duplicate]

I am using NDSolve to compute particles' trajectories. Typically, I get an error of the type: NDSolve::ndsz: At t == 0.11880535502829011`, step size is effectively zero; singularity or stiff system ...
user avatar
2 votes
0 answers
53 views

Error message window upon launching Mathematica

Upon launching Mathematica (v. 11.3) I always get the Messages window with "An unknown menu command token (RebuildHelpIndex)...", as shown below. How do I eliminate that?
user avatar
0 votes
0 answers
47 views

error "Kernel not responding to Dynamic Evaluation"

I have got error with large-scale Problems that needs a solution by LinearProgramming, I am working on TSP Problem and I write the Linear Formulation for this Problem (Note: I know that there is a ...
user avatar
  • 73
0 votes
0 answers
29 views

Notebook save error when saving to remote directory using Linux

I am connected to my college's cluster (through ssh using my laptop) in other to run some physics simulations. But in order to plot the data I import the data files into a notebook and plot them with ...
user avatar
  • 1
1 vote
1 answer
88 views

How to make warning and errors messages on console print in RED? so easy to see them?

When I run large computation with 1,000's of iterations, then later look at the console looking for any errors or warnings generated, it is hard to locate them scrolling up and down, as the color of ...
user avatar
  • 112k
2 votes
1 answer
55 views

Warning: Inconsistent or redundant transcendental equation

When I try to solve (for complex c[i,j]) ...
user avatar
  • 3,613
0 votes
0 answers
41 views

Wolfram script exported from a Mathematica Notebook : errors actually warnings?

I have exported with the following script put at the beginning of my Mathematica notebook : ...
user avatar
0 votes
1 answer
49 views

NIntegrate can't integrate function but work fine with the expression [closed]

I have a function called psi0 that looks like this: psi0 := E^(-(x - 10)^2/10) and I'm trying to integrate it numerically from 0 to a variable L. However, I keep ...
user avatar
1 vote
1 answer
82 views

Divide by zero warning: Actual division by zero or spurious?

I have the following code that calculates the gain of an amplifier ...
user avatar
  • 345
1 vote
0 answers
48 views

Warning message in current window in v12

I don't remember exactly when, but warning messages started to show up in a new window. I found a post about this Warnings shows up in message window The poster gives us solution - change an option in ...
user avatar
  • 3,063
3 votes
1 answer
83 views

Convex optimization of a least squares regularized objective function [closed]

Given, a vector of observations $\mathbf{y}=(y_1, y_2,\ldots,y_n)$ I am trying to find the soltuion to the following optimization problem: $$ \min{ (1/2) \|\mathbf{y-x}\|_2^2 + \lambda \|\mathbf{Dx}\|...
user avatar
2 votes
2 answers
107 views

Evading the fewer dependent variables than equations error

I'm writing a code that tries to solve differential equations generated from some existing code. The equations so generated are often seemingly overdetermined but actually solvable: e.g. ...
user avatar
  • 381
2 votes
2 answers
180 views

Difficulty evaluating integral with Boole

I am trying to evaluate ...
user avatar
  • 131
0 votes
0 answers
92 views

Possible Bug: Why does ListLinePlot3D not work with Dynamic here? [duplicate]

Why are the errors below thrown? They are very strange and seem to be incorrect. Error 1 ListLinePlot3D[Map[Dynamic, {{1, 2}, {1, 3}}, {2}]] Error 2 ...
user avatar
-1 votes
1 answer
79 views

Solving a PDE gives stiffness error

I'm solving a PDE with ...
user avatar
1 vote
1 answer
73 views

Interpolation Function is not saved in notebook

I get the following message when an interpolation function is generated as a solution of NDSolve: I don't know why this warning is showing and I don't find anywhere where I can consult what this ...
user avatar
  • 51
3 votes
0 answers
62 views

What's the best method to use when NIntegrating a sinx + cosx type function?

I'm having some problems when trying to NIntegrate a sinx + cosx type function. I have already tryed several combinations of ...
user avatar
0 votes
0 answers
36 views

Derivatives with respect to vector components

I am trying to work with functions of arrays, I tried the following: f[x_] := x[[1]]^2 + x[[2]]^2 + x[[3]] D[f[x], x[[1]]] and got ...
user avatar
  • 101
1 vote
1 answer
73 views

I need some help debugging a calculation command

I am trying to make a calculation but I have a few bugs and I do not understand them/how to fix them. Below is my syntax, the output, and the error messages. I am trying to calculate the point in my ...
user avatar
0 votes
1 answer
62 views

Solving complicated linear system [closed]

I have this system and I would solve it with mathematica, I try with the instruction Solve but I have an error Please help me.
user avatar
  • 1
0 votes
1 answer
72 views

Problem with my function ($IterationLimit::itlim: Iteration limit of 4096 exceeded.)

I defined a function that only depends on one coordinate and it is giving an error. My code for now looks like this: ...
user avatar
0 votes
1 answer
68 views

Docker on Mathematica, Windows OS

I've been trying to learn how to run some docker-dependent scripts in Mathematica. Every time I try to run the script, I get the same error: ...
user avatar
1 vote
1 answer
65 views

What do those messages in NDSolve mean?

I am trying to solve the problem $$u_t=u_{xx}-Au, \ \ \ \ A>0, \ \ 0<x< \pi$$ $$u_x(0,t)=u_x(\pi ,t)=0, \ \ \ t\geq 0 $$ $$u(x,0)=\cos x -3 \cos (2x)+5 \cos(4x), \ \ \ \ 0 \leq x \leq \pi$$...
user avatar
3 votes
1 answer
95 views

The element mesh has insufficient quality

I am quite new at FEM. I was trying to create a triangular mesh of a rectangular region. I wanted to do something very basic: Discretize the domain using squares and then subdivide each square into ...
user avatar
  • 117
0 votes
2 answers
109 views

Singularity in NIntegrate

I am trying to do integration with NIntegrate command. I know that the function I am integrating (the integrand) has a singularity at x=0. I am trying to exclude this point from the integration, but ...
user avatar
  • 99
5 votes
1 answer
112 views

LogitModelFit to predict a categorical variable

I am trying to predict life expectancy based on GDP per capita and literacy rate. Life expectancy is coded as low and high, and the two predictor variables are numerical. Here is some sample data: <...
user avatar
1 vote
1 answer
80 views

NDSolve or NDSolveValue for simple, 1D diffusion

Trying to solve a simple semi-infinite diffusion equation numerically. At t=0, the value at z=0 rises from 0 to cA02, and diffuses in the positive x direction. <...
user avatar
2 votes
2 answers
73 views

How to get special solution with DSolve?

I am trying to solve the following ODE with DSolve, but can't obtain a special solution (which I know exists simply by looking at the equation: f[x]=1) ...
user avatar
  • 241
0 votes
0 answers
37 views

Too few arguments given for UndirectedEdge

I want to sort this UndirectedEdge and got this warning. The function still works and return correct result though. How can I fix this? ...
user avatar
  • 2,392
0 votes
1 answer
42 views

Incompatible dimensions when trying to use an array of functions within Region3D function [closed]

When trying to plot an array of functions within the region3D function, I get the error code ...
user avatar
  • 3
0 votes
2 answers
114 views

Solving equations involving implicit magnetic field

I am trying to solve these two equations for various values of B(magnetic field): $$\text{xb}'(l)=\frac{\sqrt{\text{g11}\left(r_0\right) \left(-\text{gtt}\left(r_0\right)\right)}}{\text{g11}(\text{rb}(...
user avatar
  • 313
0 votes
0 answers
27 views

Exporting Plot with suppressed error messages

I have generated a plot that has some error highlighting that I cannot get rid of. There does not seem to be a good way to do so, but it does not impact the actual plot itself. In order to display it ...
user avatar
  • 175
6 votes
2 answers
90 views

Error message not reproduced at reevaluation, SetDelayed cache?

Mathematica v13.0: nr:=HoldForm@Evaluate@Function[t,x@t][] then evaluate ...
user avatar
1 vote
0 answers
82 views

Intel MKL ERROR: Parameter 2 was incorrect on entry to ZGEHD2

I have some code which is diagonalising very large random matrices, and storing certain statistical properties of their eigenvalues and eigenvectors. The code runs fine on my computer. When running it ...
user avatar
0 votes
1 answer
32 views

NDSolve error 2nd order ode [duplicate]

...
user avatar

1
2 3 4 5
27