# All Questions

171 views

### How to add “special” Ticks?

this is my code: ...
248 views

### Optimizing Chi-square distance between two distribution

I want to program the chi-square between two distribution Xu and Vu with length N. This function is defined as below: Xu and Vu are real and positive. ...
84 views

### TrigExpand Idiosyncracies

TrigExpand[Sin[x]^2 Log[y]] returns sin^2(x) log(y), as one would expect. However, ...
174 views

### How to get mathematica to show limit of a recurrence sequence?

I want to find the limit of a such a sequence: $f(n+1)=\sqrt{2f(n)-1}, \, f(0)=a, a>1$ How does one do this? Is it possible to have it show the solution algebraically, like it does with ...
376 views

### Multiple-colored regions on a Sphere in Mathematica

The problem: I would like to draw a sphere where the bottom half is one color, and the top half is split into 3 equal regions, each with its own color. I have come up with the following code, by ...
87 views

### Changing MathKernel process priority on the startup

In the built-in Documentation there is an example how it is possible to change the priority of the MathKernel process using NetLink: ...
141 views

### Evaluate function defined by DifferentialRoot

I have the following sequence of rationals that I want to find the generating function of: ...
290 views

### How to exclude some indices in defining Table?

Suppose I define a table using Table[n, {n, -n0, n0}] (where n0 is some positive integer) but I want n not to take the value ...
154 views

### BSpline or other curve through arbitrary ordered sequence of two-dimensional points

How does one create a BSplineCurve or other smooth curve passing through each point in an ordered list, where the curve may be non-simple, i.e., can double-back ...
96 views

### How to show output of a matrix in m(1,1)=a11 m(1,2)=a12 …in this way…i have 50 *50 size matrix

How to show output of a matrix in m(1,1)=a11 m(1,2)=a12 ...in this way......i have 50 *50 size matrix so i want to do it efficiently. output to be shown like m(1,1)=a11 (in fortranForm) m(1,2)=a12 ...
108 views

### Output of matrix in FortranForm

matr2 = Table[FortranForm[matr[[i, j]]], {i, 4}, {j, 6}] but i want output to be more like this matrix(1,1)=a11 output in ...
111 views

### How restore printing of messages?

In the upper left hand corner of my message window, the button reads "Delete all messages". I don't get any messages at all. How can I get messages restored.
278 views

### Compare 2 lists

I want to compare 2 lists. One is very large and I need to compare many times. Lets say Length[list1] I need to know how many times list1 occures in list2. Eg. list1={1, 0}, list2={1, 0, 1, 0, 1, 1} ...
101 views

### Lists of integers coprime to another list

I have two lists of integers. The first, p, is a list of primes (for example, {2,3,5,7}). The second is a list ...
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: ...
173 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. ...
149 views

### Matrix multiplication

I want to multiply 1000by1000 matrices but MMA runs out of RAM. ...
611 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: ...
127 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 ...
76 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: ...
374 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: ...
192 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. ...