# All Questions

144 views

Why does adding 6.1000000 seconds to a DateObject display as having added 6.099? If I copy the Out[20] element from this picture, it contains the correct value: ...
175 views

### ParallelTable kernels die - maybe Mathlink timeout?

I am new to parallel computing in Mathematica. I am using LaunchKernels[16] ParallelTable[] to parallelize calculations. The ParallelTable consists of approx ...
87 views

### citation insertion from bibtex file does not seem to work

When I try to insert a citation in a text cell using the right click citation/insert bibliographic reference, and then choose the Bibtex option, I get the complaining window shown. This happens no ...
235 views

### Selection bugs make Mathematica 10 unusable

I'm getting odd selection bugs in Mathematica (10.0.1.0, OS X 10.10) that are making it impossible to use. For example if I simply click before the 'i' in With I ...
93 views

### How to define a function that is related to derivative of Jacobi theta function

I would like to make 3D plot of the following function. ...
130 views

### RegionFunction generalized to plot a different colour/style for the largest expression [duplicate]

I have several functions of two variables defined in some region, say functions[x_,y_]:={0,x-y,Sin[x^2-y]} I'd like a plot to show at a glance the regions where ...
139 views

I just installed webMathematica on Linux Debian + Tomcat7 + Mathematica 9.0. I'm getting this error web testing any example. HTTP 403 - MathLink linkname missing or malformed. The error is also ...
118 views

### Combination of interpolations doesn't work?

I have tables of function values f[i_] and g[i_] and I need to plot various combinations of the function and its derivatives ...
834 views

### Mathematica 10 cannot solve definite integral [duplicate]

Bug introduced in 10.0 and fixed in 10.0.2 Mathematica 10 fails to solve the following integral, saying that it does not converge. ...
150 views

### Matrix multiplication

I want to multiply 1000by1000 matrices but MMA runs out of RAM. ...
613 views

### draw part of parabola using graphics

today I was doing my physics homework. one of the questions was draw velocity-time and position-time graphs from the acceleration-time graph. So for the first step I draw acceleration-time using ...
96 views

### Slowdown of Flat attributed function

I was trying to write an associative function f using the attribute Flat. ...
137 views

128 views

### Eliminate symbols from Lists

I'm working with a list of roots of a 3rd order polynomial family, so i get a list this way: ...
128 views

### Producing a minimal Gröbner base

Mathematica has the command GroebnerBasis[{p_1,...},{x_1,...}] that returns a Gröbner base for some set of polynomials. I want to know if there is a command to do ...
77 views

### editing entries of a sparse array + sparse Smith normal form

Why does the following code ...
174 views

### Restricting Numbers in a Matrix

I am generating a random N x N matrix, but with a certain restriction. What I'm trying to do is that when there's a "1" in a position, all neighboring positions must turn to "0" (so if [i,j] = 1, then ...
90 views

### Graphs Plotting Discontinuous

I'm trying to plot a graph from the eigenvalues of a matrix I created. The graph shows with discontinuities in it and I was looking for some feedback. Here's the code: ...
112 views

### Manipulate list in function

I have some problems with lists and functions. Basically I just want to cut all entries from the right side, which contain 2. ({2,1,2} should become {2,1}) ...
310 views

### Real-like jet engine flame

I’m trying to make rocket flame and jet engine fire that is a Graphics3D object so that it can be used with a 3D rocket project. There are many types of such flames, but for starters I would like the ...
106 views

### How can Map be given access to the keys of a Dataset?

Consider an example Dataset: ...
120 views

### Increase Precision in Numerical Integration

I need to generate a table of Chebyshev expansion coefficients of trigonometric functions (in this case Cos[2 Pi t] to very high accuracy. Code is: ...
375 views

### Best fit equation from a scanned image

I am trying to extract a curve from a scanned graph and find a best fit equation. For example, starting from: How could one find an equation starting from the image file ?
72 views

### Consecutive integers that can be written as the product of three distinct primes

Mathematica novice here. I want to start with a list of integers that are the product of three distinct primes m,n, and o, where 2 <= m|n|o < 2000. ...
230 views

### ParametricNDSolve and plotting problem

I have a problem with ParametricNDSolve: ...
194 views

### Adding walls to a region plot

I've done this code: Plot3D[x + y + 1, {x, 0, 1}, {y, 0, 1}, RegionFunction -> Function[{x, y, z}, 0 <= y <= Sqrt[x]]] Producing this image: In ...
123 views

### Distance between vectors does not match distance between probability distribution [closed]

I have vectors that describe shapes. I am doing Euclidian distance between vectors to get the similar shapes and I get a good results of all classes. Theoretically, two similar shapes (shapes in a ...
47 views

I wrote: ...
168 views

### NDSolve inside Module with local variables

I want to use NDSolve within a Module and output the solution at some times. (Mathematica 10) All works fine with global variables (symbols) ...
251 views

### Is there a way to control V10's undo length?

This may be a duplicate (if so I will remove this), but I was having trouble finding the relevant bit of documentation to fix it. I noticed that my FrontEnd memory ...
203 views

### How to make Import recognize a new file extension?

I've written an import converter for a custom file format, and it all seems to be working as expected, except for the fallback behavior with no arguments: ...
524 views

### Integrate over piecewise function defined using /;

f[x_] := x /; x<0 f[x_] := x^2 /; x>=0 Integrate[f[x],{x,-1,1}] The above does not work (Mathematica returns it unevaluated), but the below does. ...
132 views

### solve recursive factorial function [closed]

Is there a way to solve this recursive factorial function? a[n + 1] = (n+1)*a[n], a[10]=10 I am looking for the value of a[n] ...
177 views

### Dynamic and Refresh

If I am not mislead by my memory, in Mathematica 6 a function Refresh was introduced, having the options UpdateInterval and ...
512 views

### Efficient Indexed Sort

Suppose I have a preference for animals given by: orderOfAnimals = {"dogs", "cats", "fish", "elephants", "giraffe", "hamsters", "poodles"}; I'm given many data ...
209 views

...
811 views

### Combining Gravity Turn and Orbit Models

I have a mathematical model for the motion of an orbiting spacecraft about Earth: ...
89 views

### Defining a function that prints both the name and value of a variable defined locally within the calling function

To save time when debugging with Print statements, I'd like to define a function -- call it PrintVal -- that prints both the name and value of a variable defined locally within the calling function. ...
193 views

### How can I use legend in ContourPlot3D and add arrowheads for axis?

I am using ContourPlot3D to show two surfaces. This is my code. Now I want to use Legend to distinguish the two surfaces, and add arrowhead for the three axis. ...
48 views

### Plot command uses same colors when applying pattern on list [duplicate]

When I do Plot[{fun1,fun2} ./ val1->1,{t,0,10}] then both plots are in the same color! If I use instead ...
67 views

### Would you give me some advice on Elliott's equation?

I'm trying to solve below equation on mathematica for plotting, but I'm a complete beginner. ...
107 views

### How large can be the dimension of a complex matrix which Mathematica can handle to find its eigenalues?

I have been working with 12 cross 12 complex matrix in Mathematica , I need to work with bigger size matrix of the dimension of the order of hundreds , I was wondering if Mathematica can handle ...
101 views

### How to express “if any component in a vector satisfies that …” in Mathematica

For example, l is a list of vectors. I need to delete from l all the vectors with any component larger than 1. How should I do ...
33 views

### MapThread with incompatible length (How to Map twice in the same line)

l and b are two lists of vectors with different length. I need the list of vectors that is constructed by adding each member of ...
217 views

### Removing all values from a list that satisfy a given condition

Suppose I have a list, list = Table[{n}, {n, 1, 5}] (* list = {{1},{2},{3},{4},{5}} *) and I want to remove all values from this list that are greater than 3, so ...
111 views

### Creating a list of lists as a function of a list

I have a list of length n whose elements are all 1 and -1. For each -1 in the list i want to create a list with a -1 in the same spot and a 1 everywhere else. For example: A list like {-1, -1, 1} ...