Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [error]

Questions seeking help understanding error messages and fixing errors.

-2
votes
0answers
40 views

Mathematica problems [on hold]

What means when this message in mathematica program Factor[Solve[E3 == 0, b2]]={}, such that in the expression of E3 there is b2.
0
votes
0answers
32 views

Unable to import an .eps file

I am trying to import an .eps file into Mathematica, but I am getting an error. I tried this ...
2
votes
0answers
47 views
0
votes
0answers
24 views

Why is an integration error appearing during this code?

I'm really confused about this to be honest. If i evaluate approx[x,k] for some k, and then input the list into the Plot function, I get a plot. But if I try to use approx[x,k] directly, I get an ...
0
votes
0answers
21 views
2
votes
1answer
41 views

Plot shows up as blank output line

Let me start by saying this is NOT one of a thousand duplicates of the function not showing up on the plot. Mathematica has been working fine for the last 2 years, and then all of a sudden, ...
2
votes
1answer
65 views

My version of PowerMod breaks down around 10^308

I have been trying to write a function that duplicates PowerMod[a, b, n], computing a^b mod n...
2
votes
1answer
41 views

Typing Control-6 makes text cell disappear

This morning, I opened a document I worked on last week, and all the lines of text that had Control-9 functions in them where the function involved a power written by typing Control-6 were completely ...
0
votes
2answers
27 views

My function for computing a partial derivative generates an error message [closed]

Apologies, I'm still new at Mathematica. I have defined the function ...
2
votes
1answer
67 views

Specifying $0^+$ as the lower bound of an integral [closed]

Consider the following evaluation. Integrate[1/Sqrt[x], {x, 0, 1}] (* 2 *) The integral is right only if the first extreme of integration is $0^+$. I want to ...
0
votes
1answer
22 views

Error from NMaximize inside function that calculate fwhm

I tried to use the function that is given in 1 in order to get the FWHM of some expression I got from solving a system of linear equations. This is the function for calculating FWHM: ...
3
votes
2answers
104 views

“Graphics is not a Graphics primitive or directive.”? [duplicate]

I looked through the forum but none of what I've found is helping. ...
2
votes
1answer
80 views

Installing R for use with V11.3 on Windows 10

I can't install R on Windows 10. I tried some solutions that I found on the Internet, but they did not help. ...
1
vote
2answers
60 views

Eigenvalues error: “The method ”Banded“ accepts only sparse matrices with elements that are machine-real or machine-complex numbers”

I'm having one issue with the Eigenvalues function in some code priorly discussed here. There the example is tridiagonal, but here, let us consider this simple ...
3
votes
0answers
96 views

How can I do a faster integration?

I have this part of my code, which takes forever to run. Does anybody know how to make it faster? Using NIntegrate I face error: "NIntegrate::eincr: The global error of the strategy GlobalAdaptive ...
1
vote
1answer
57 views

Finite element mesh generation with specified coordinates [closed]

I am trying to use Mathematica's FEM capabilities, but I want to generate my own QuadElement mesh. (The key word in here is trying.) ...
1
vote
0answers
34 views

Confusing errors using predict to map between matrices

I'm messing around with the new features involving machine learning in Mathematica 11, and one easy thing to try is to make a machine learn the matrix exponential function. The first silly idea I had ...
2
votes
1answer
111 views

Want to remove unnecessary message

Manipulate[ ParametricPlot[{t, t}, {t, 0, s}], {s, 0, 1, 0.1}] This code is working in Mathematica, but generates messages (...
0
votes
2answers
53 views

What's wrong with this cross product of two vectors? [closed]

x = {{a},{b},{c}}; y = {{d},{e},{f}}; Cross[x,y] Whe trying to evaluate this expression, I get the error ...
0
votes
0answers
50 views

double Integral in complex number field

The following expression is an expansion of Hypergeometric2F1 function from the above expression with the help of 9.113(in 'Table Of Integrals, Series And Products'). but I got different results.WHY? ...
2
votes
0answers
19 views

How would I obtain error information on a $Failed GeoElevationData?

The following code returns an error: GeoElevationData: with no description of the error. I think this error may be because I am asking for elevation data that is ...
1
vote
2answers
33 views

How can I get LanguagesFractions data in different years?

I want to do that. But it failed. May I change my code? Or Where can I get these data?
0
votes
1answer
41 views

RegionPlot evaluating NIntegrate before assigning variable values and resulting in non-numerical integrands [duplicate]

I am trying to find the regions where the integral of a function a function is larger than a certain quantity using RegionPlot. For simplicity's sake, let's say the intergal I am looking to plot is is ...
0
votes
0answers
27 views

Using ErrorBars with ListLogPlot in Mathematica 11 [duplicate]

I am trying to insert error bars in a plot with a log scaled y-axis with ...
0
votes
0answers
56 views

Non-autonomous ODE use NDSolve, error: Step Size is effectively zero; singularity or stiff system is suspected

I have seen this error NDSolve::ndsz many times when I use NDSolve to get the solution of a non-autonomous ODE. I try but all ...
0
votes
0answers
50 views

Create Compiled Function - Matrix Initialization

I am attempting to compile the following function: But I receive the following error messages: How should I initialize the matrix Vw to enable the assignment to Vw[[1,1]]? ...
5
votes
3answers
162 views

Why are the options given for IconData causing errors when used?

Reported to Wolfram Technical Support [CASE:4212712] Using Options on IconData reveals: ...
-1
votes
1answer
51 views

Protected tag error using NDsolve [closed]

I have been successful at solving the PDE when I have specified the $r$ I am using, but now when I try and allow $r$ to be a variable and input its value in a function I am getting all sorts of errors ...
1
vote
3answers
79 views

Numerical integration converging too slowly. how to over come this

I have a function U1 which contains a linear combination of trigonometric function, I wanted to Numerically integrate this function U1. Since each trigonometric functions associated with some unknown ...
3
votes
1answer
143 views
5
votes
1answer
85 views

FindEquationalProof with Logic in Wolfram Mathematica

I try to "make" proof in Wolfram Mathematica. Thats a proof: if a->b and b->c then a->c I tried ...
0
votes
1answer
27 views

What is this error when doing Plot[ArgMin[Norm[…,p]],…]?

When doing Plot[ArgMin[Norm[x - {-3, -1, 0, 5}, p], x], {p, 1, 3}] I get this error message: ...
1
vote
1answer
53 views

Why is part of the output “Null”? [closed]

Whenever I execute the code, portions of the output are null. How can I fix this? I am not sure the extent to which the result is invalid because I am not entirely familiar with the null output, ...
1
vote
1answer
93 views

NDSolve: method of lines: unexpected error: insufficient boundary conditions

As a test of my ability to master the Method of Lines I tried to NDSolve the PDE's system $$\partial_t \varphi = \varpi\qquad\partial_t\varpi=\frac{1}{r}\partial^...
1
vote
0answers
64 views

Why is my Mathematica notebook resetting all my previous computations after some hours?

I am using Mathematica 11.1. This morning I started some calculations in the hope that when I come back from work, they will be finished and I can get on with the rest of my project. Indeed, when I ...
0
votes
0answers
50 views

JordanDecomposition: Error Mesage eivn

I want to calculate the JordanDecomposition of the follwoing matrix: That is ...
0
votes
1answer
87 views

Create Compiled Function

I am trying to create a compiled version of this function: ...
0
votes
0answers
39 views

NIntegrate weird behaviour inside a function

I wrote this little function ...
0
votes
1answer
80 views

NIntegrate: The integrand has evaluated to non-numerical values for all sampling points in the region with boundaries {}{}

I encountered a problem with the NIntegrate function while simulating a physical situation. The expression is quite messy, but it is just an integration over a polynomial so it should be possible. I ...
0
votes
0answers
20 views

NDSolve: Method of Lines: same grids for spatial discretization: error: stiff system_zero step size

How can I modify bbgofrey's answer so as to use $n+1$ grid points for variable $y$? My code ...
1
vote
0answers
44 views

ProteinData Error: “Cannot import data as PDB format” [closed]

I'm trying to use the Mathematica examples for plotting proteins: But when I type the command I get the next error: How can I import data as PDB format?
1
vote
1answer
136 views

On double summation with Mathematica

Today I wanted to evaluate this sum using Mathematica: $$f(a,b):=\sum_{(k,l)\in\mathbb{Z}^2,\ l\ne0}\frac{1}{(2 i k a \pi + l b) (2 i (k - l) a \pi + l b)}$$ ...
1
vote
1answer
50 views

Linking multipage forms together

I am trying to develop a web form wherein the first page asks users how many cities they would like to compare, and the second page dynamically creates that many input boxes. Once the user inputs the ...
0
votes
2answers
144 views

I want to erase the error

Error message does not disappear. I can not solve the same number of solve expression and variable. Please tell me some advice. ...
1
vote
2answers
84 views

error list log plot

In error list plot what command I will use for denoting the range of X axis? ...
0
votes
0answers
36 views

Problem with small program: Error: “Charting Private pvar”

Im in the making of a smaller self-running application. I have made a small piece of the program as it has to look in the end. However, sometimes when i change some of the input for either "demand" or ...
1
vote
0answers
24 views

Find errors in collapsed notebook

I usually keep my notebooks collapsed to make understanding what's going on easier. The problem is that if there's an execution error, I have to expand everything in order to even know that there was ...
1
vote
1answer
141 views

NDSolve:PDE system, initial-boundary value problem:warning:NDSolve::mconly: For the method NDSolve`IDA, only machine real code is available

I tried to NDSolve the PDE system $$\partial_t w =x\cdot w\quad\quad\partial_z x=w$$ for $$(t,z)\in[0,1]\times[0,\pi]$$ with boundary conditions $$x(t,0)=w(t,0)=w(t,\pi)=0$$ and initial conditions $$w(...
3
votes
2answers
164 views

NDSolve:Coupled PDE's, initial-boundary value problem: unreasonable “insufficient number of boundary conditions” error

I tried to NDSolve the PDE system: $$\partial_t y = x\partial_z w \quad\quad \partial_t w = \partial_z y \quad \quad \partial_z x=w $$ for $$(t,z)\in[0,1]\times[-1,0]$$ with initial conditions $$x(...
0
votes
1answer
53 views

Increase in area under the curve as standard deviation decreases? Not what I expect

Suppose I have a PDF with mean a and standard deviation b defined as below. As the value of k increases, a should decrease, while b should also decrease. This should cause a decrease in the output, ...