# All Questions

15 views

### Removing spurious parenthesis in TraditionalForm

I don't understand the following behavior (in v 9.0.1) of TraditionalForm regarding insertion of parenthesis. Let us start with the a definition for ...
12 views

51 views

### Why does my code produce NDSolveValue::ndnum?

I keep getting the error shown below. It appears to be valid, but I am not sure why my I am getting it. ...
22 views

### using numerical value of NDSolve solution [on hold]

I have two differential equations solved using NDSolve ...
28 views

### Minimization of a non-linear objective function subject to linear constraints

I have solved a linear program in Mathematica using the LinearProgramming function with arguments of the form LinearProgramming[c,m,{{b1,s1},{b2,s2},...}] i.e. ...
73 views

### Mathematica 8 remove black background from image

How do I do that in Mathemtaica 8? I have found on this site many options like RemoveBackground[], but they don't work in Math.8. Are there any options? Here is ...
81 views

### Why doesn't FullSimplify simplify expressions with DiracDelta?

I want to simplify a complicated expression with some Dirac delta distributions, but FullSimplify does not do what I want. Specifically, I want ...
104 views

### Manipulate showing the trajectory of a particle

I'm trying to plot the trajectory of a particle: ...
72 views

### How do I format the output to include the function definition?

To explain, I do most of my probability homework in Mathematica, and use the typesetting built into Mathematica to finish answers. Often, I want to output a function as the answer to a problem, but I ...
198 views

### How to generate a chirped signal

As there is no ChirpSignal function in Mathematica, can anyone tell me how to write a custom function to generate a sinusoid with a frequency that changes ...
36 views

### How to take derivative of a tensor leading to kronecker delta? [duplicate]

I'm trying to write a Mathematica program to find derivatives such as the following simple example: Could you please help?
174 views

### Why doesn't this pattern work? [on hold]

I want the in-built function Count to count the elements in a list which are greater than a value. Example: Count[{1, 1, 2, 3}, (# > 1.5) &] Why doesn't ...
42 views

### Solve with variables as single vector

Say I have a set of equations where the unknown variables are the elements of a vector $c=(c_1,c_2,\ldots)$ and want to solve it for $c$. Is there a way to do this with ...
59 views

### Compile with modification of arguments' values

Is it possible to compile while changing the value of the arguments the function receives, instead of just creating new variables, and then returning those new variables,i.e., is it possible to pass ...
64 views

### Bug(?) in version 10: Tooltip and ListPointPlot3D

Bug introduced in 10.0.0 The coordinates of a point in a three dimensional graph can be shown in a tooltip: ...
44 views

### How to use a C compiler without having SystemModeler

In this question the answer given implies that I must compile a certain function. When I try to compile I get the error A C compiler cannot be found on your system. Please consult the ...
77 views

### Find all roots in range

Is there any way to check for all roots in a range? Jens' findAllRoots function is pretty good, but runs at approx. 10% of roots missed when I ran a quick check on ...
339 views

### Colorize Grayscale Image

I have a grayscale image that contains two objects. The grayscale pixel values can be divided into three intervals where two of them represent objects and the third represents the background. The ...
30 views

### Unprotect fails the first time, works on second pass

I am redefining some of the standard math functions. I know this is dangerous, so I am trying to be extra careful. (For instance, in the redefinitions, I make sure to only match a custom head) The ...
53 views

### How can I use multiple Textures in Graphics3D

I am creating a Graphics3D object for a box using 6 Polygons (1 per side). I can use one single Texture on one or more sides but I can not find a way to use different Textures for different sides of ...
38 views

### Using conditionals to check if LinearSolve found a solution

Is there some way to check if LinearSolve found a solution using conditionals in Mathematica 9? I need to solve a large number of linear equations, but I am only interested in the cases where there ...
72 views

### ListContourPlot in V10

It seems that I obtain different results when using ListContourPlot under V9 and V10. Using this datafile http://pastebin.com/2p4ew0NJ (modified to use pastebin), ...
39 views

### Nothing happens when I click the mouse clicked on my graphics

I wrote codes to record list of coordinates when mouse clicked. It is expected that the coordinates should be plotted dynamically. But actually nothing happened. Can anybody help me to find the ...
53 views

### How do I get a Do function to create a list?

I have a Do function which gives me a column of expressions. How can I get the Do function to give me these expressions in a list. i.e The do function gives me this: a b c d I would like it do give ...
58 views

### Rotate points by 60° in 2D

I wrote this code, to rotate a list of points 60° about the first point in the list in 2D, but Mathemtica says: "Recursion depth of 1024 exceeded."
100 views

### Vertex displacement/merging in graph?

Given a Graph such as the one produced with the following code ...