# All Questions

247 views

### Comparison of Dispatch objects ureliable in Mathematica 10

In 2008 I wrote a group theory package. I've recently started using it again, and I found that one (at least) of my functions is broken in Mathematica 10. The problem is complicated to describe, but ...
40 views

### Entering block matrices, general case doesn't work

I want to enter several matrices at different positions in blocks. There is already a very similar answer here: http://mathematica.stackexchange.com/a/3562/6138 I thought that simply generalizing ...
54 views

### 1/2D FDTD problem [on hold]

So I have been writing a code in order to simulate 1D initially wave propagating trough a slit and then a 2D just for completeness. Problem is the 1D version doesn't want to give me anything for some ...
21 views

### Integer linear problem (ILP) example, with 3 constraints and an additional restriction? [migrated]

Say I have the following Integer Linear problem: $x_1 \geq$ 0 No. of Item A $x_2 \geq$ 0 No. of Item B $x_3 \geq$ 0 No. of Item C $x_4 \geq$ 0 No. of Item D Maximize z = ...
33 views

### Minimization problem in a subset of Complex matrices

I would like to minimize $||\mathbf{A} \rho -v||$ (where $\rho , v$ are fixed vectors) with respect to the matrix $\mathbf{A}$ elements, but with $\mathbf{A}$ in a subset of complex matrices (i.e. ...
44 views

### How does Mathematica interpolates? [duplicate]

In manual for Interpolate function it is said, that possible method of interpolation is Hermite. Unfortunately, I can't see ...
47 views

### Solving a large system of nonlinear equations

I have a system of 80 nonlinear equations with 64 variables to solve in Mathematica but it takes a lot of time (about two hours) and then it return "no more memory available" knowing that I have 8GB ...
71 views

### What does it mean: “Assuming a matrix | Use a list of lists instead”?

I have entered a matrix by Insert->Table/Matrix->New. After adding it to code, Mathematica wrote a remark: "Assuming a matrix | Use a list of lists instead". ...
25 views

38 views

### Solve 3 equations

I want to solve for $f, F$ and $\phi$ with these 3 equations: $\left\{m v=m f \cos (\theta )+M F \cos (\phi ),m f \sin (\theta )=M F \sin (\phi ),m v^2=m f^2+M F^2\right\}$ How could this be done?
90 views

### How can I plot a large number of functions and use a “…” to signal more inbetween? [on hold]

So I want to plot x+1, x+2, X+3,..., x+50 on a single figure. So I tried Plot[{x+1, x+2, x+3, ..., x+49, x+50}, {x, -5, 5}, PlotLegends -> "Expressions"] ...
45 views

### Plot a transformed distribution with an If function

Suppose I have a normal distribution $A \sim \mathcal{N}(\mu,\sigma^{2})$ with a known cutoff point (percentile) on this distribution called $c$. Based on this point the distribution needs to be ...
37 views

### Inport a web page with latex code as image png or other

To be brief; I would like to import a web page, then I write Import["http://fabricebaudoin.wordpress.com/2012/10/25/lecture-32-the-malliavin-derivative/"]; which give a notebook file without png ...
51 views

### how to find the function of a plot that I draw with ContourPlot [on hold]

I draw a plot by the [ContourPlot][VAH[t, z] == 0, {z, .0001, 70}, {t, -10, 50}], and it gave me a line as I expected, now I want to have the function of the line, so I can do other calculation on ...
29 views

### Spherical Hankel and Bessel in Explicit form

This is probably an easy question, when i type the spherical Hankel (first kind) and the bessel function into WolframAlpha it gives back an explicit form, the one you would get if you were to do it by ...
48 views

### How to obtain transparent animated gif via Export?

I have the following code to create animated GIFs: ...
110 views

### Catastrophic loss of precision

while I am trying to solve the double integral in the range of 0 to Infinity (for both the integral) it give me the error Catastrophic loss of precision in the global error estimate due to ...
45 views

### Graph Power Series

On the same axis, graph the function f(x) = e^x and its first 6 Taylor polynomials. Please tell me how to complete this. I have tried the plot function but it's not working.
105 views

### cycloid parametric [on hold]

How do I enter 3 parametric equations for cycloids corresponding to circles with radii 1, 2, and 4. I have tried ...
38 views

### Filtering out 'no solutions' after solving a high order polynomial

I am dealing with a fourth order polynomial. I get all of the desired out put however above a certain range I also get these - {}. From my understanding this means that there is no solution. I am ...
36 views

### Differentiation Help [on hold]

I am having some trouble on my math assignment. The question has three parts, and I think have the correct answer on the first two parts, but the last one, I'm having trouble with. It says to ...
33 views

### remote kernel through SSH

Is it possible to setup connection to remote kernels through ssh? I'm able to SSH into the remote server(linux) and start a kernel in the terminal, but it can't connect back to my local front end. I ...
95 views

### How to force correct answers for Integrals of Cos[mx]*Cos[nx]?

This is a big problem if you do anything with a Fourier Series. This statement: Assuming[Element[{m, n}, Integers], Integrate[Cos[m*x]*Cos[n*x], {x, 0, 2 Pi}]] ...
30 views

### Import csv file and missing “” when importing [on hold]

I am importing a csv file. When it imports and shows the import there are no quotes around the alpha characters or the date. Like this: {32856, 1, A, 10/1/2001, 1, 1, -54.4, , 4, 1, 1, 1, , , , \ ...
113 views

### Can I generate matrices with a constraint?

Say I want a way to generate matrices with the following properties, All non-diagonal elements are either $0,1,-1$ The diagonals are either $k$ or $k+1$ for some $k \in \mathbb{Z}^+$ for some $k$ ...
89 views

### Can't use my own discontinuous coefficient within NDSolve

I want to evaluate the pendulum's motion with changing equilibrium state given by eqilValue[t]: ...
48 views

### Plotting A Function Using A Given Number Of Points [on hold]

i'm new to mathematica and am trying to figure out how I can plot something and specify the number of points on the plot. I want to plot the real root of an equation from a=0..1 using 500 points of ...
32 views

### Simplifying an inequality inside an answer by parts

I have the following piece of code where I'm evaluating a probability of a variable v being greater than some threshold under a Uniform distribution. ...
83 views

### How to implement kvo in Mathematica 10? [duplicate]

Key value coding and observing is something that other languages do well, like objective-c for instance. What's the best way to achieve something similar in Mathematica (if at all possible)? That is, ...
51 views

### Show legend on plot [duplicate]

I have a series of curve I'm plotting using ListPlot. For each plot I'm changing a variable called X. Is there anyway I could ...
54 views

### DSolve bvlim error due to Boundary condition at infinity

I am solving an Ode using Mathematica that has boundary condition at infinity which is why Mathematica is showing error message. Please help to tackle this problem. ...
34 views

### plotting the stable and unstable manifolds of a difference equation

I have a 2D non-linear system of difference equations for variables x and y defined as follows: ...
137 views

### Deleting missing data with CountryData

I need to delete all of the missing entries after executing this line: ...
22 views

### Probability of occurrence of an event [closed]

If n positive integers are taken and multiplied together then the probability that the product has 1,3,7 or 9 as it's last digit ?
23 views

### How to define a function with more than one equation in? [closed]

How do I define the first function where there are more than one equations in it with each with an inequality? And for the second question how do I graph the periodic extension, what is it?
68 views

I am a novice using Mathematica. I program regularly using c like languages though. Now i work on a simulation of a vehicle. I have a loop that calculates the next state of the physical model every dt ...
197 views

### Negative integral of a positive function

For a parameter $t\in (0,1)$ $Assumptions = t ∈ Reals && t > 0 && t < 1 I define an obviously positive function$f(x)=\left| \Re ...
78 views

### Merging documentation from Workbench with handed-coded package

On the one hand, I have been writing my package (directly into the .m file) separately using the standard Mathematica front-end. My source .m files and the init.m files have the appropriate folder ...
182 views

### Why Infinity /. _?(# < 6 &) -> 0 replaces Infinity with ComplexInfinity?

Suppose I define a matrix: mat = { {Infinity, 4, 9}, {6, Infinity, 10}, {8, 9, Infinity} }; Now I want to replace all values smaller than ...
36 views

### Fix the position of the axes label [duplicate]

How can I set the position of the axes labels (X,Y,Z), so that, among other things, they do not overlap with the numbers in the axes? Here an easy example: ...