# All Questions

384 views

### Plot the results of integrating a complicated Dirac-delta function

...
62 views

I am using Mathematica 9 on a university computer. I am trying to use the basic commands for parallel evaluation. ProcessorCount evaluates to 4, but commands such as ParallelMap simply evaluate ...
338 views

### Gateaux (directional) derivatives and higher order differentials of a functional

I would like to calculate the Gateaux derivative of a functional (i.e. a function depending on functions). A simple example for the Dirichlet functional: $L(u(x))=\int_0^1 \frac{1}{2} (u'(x))^2 dx$ ...
315 views

### How to plot small values

I wonder, why small values (eg. 10^-1600) would not show on a plot? Here is a small example, where Evaluate gives a list of very small values and Plot does not show them, starting from x=20. ...
249 views

### Connect each point in the plot with all adjacent points

I have the following simple code. I need to connect each point in the plot with all adjacent points in vertical or horizontal line. ...
73 views

106 views

### Two controls to Manipulate all elements of a list

Say, I have a list list and I don't want to assign different names to all its elements. What I want to do it to be able to interactively manipulate any of the ...
245 views

### Drawing an arrow head on a curve

I am trying to create an illustration for a paper and export it to PDF. Here is the code ...
213 views

### Parallel kernel and front end

I have a piece of code which looks like this: ParallelTable[ Monitor[ Table[ <code here> ,{i,i1,i2]; ,i]; ] so basically a ...
2k views

### How to find the magnitude of a vector?

I'm doing this exercise in Wagner's book (p.78) , and this is my attempt: ...
339 views

### A problem involving classification of data

Toady, I encountered a problem while trying to classify certain data. I have the coordinates of six points. ...
221 views

### Finding corresponding vertex from 3d to 2d

I have this simple 3d data points: ...
301 views

### Implementing key-value associations in Mathematica 9 with inexact numbers for keys

I'm not sure of what type of problem my issue falls into, so I haven't been able to search forums with any success. If this has already been solved then my apologies! Essentially I'm trying to set a ...
238 views

### Calculating probabilities symbolically

Is there a way to solve for statistical quantities analytically/symbolically in Mathematica? example 1: Lets say that I want to do a calculation that requires Bayes theorem. I know p(a), p(b) and ...
20 views

### Manipulate Tutorials? [duplicate]

I am wanting to combine equations with sets of static data points in a manipulate and do the curve fitting by moving the slider bars on my independent variables. The best examples of this art may be ...
359 views

### On a Mac OS X, Ctrl-Backspace generates ascii code 8 (backspace), which is almost invisible but very annoying

When I press Ctrl-Backspace, Mathematica inserts what looks either like a tiny white space or sometimes is invisible. Actually, though, it is an ascii character code 8, also enterable in Mathematica ...
166 views

### Generate Random 3D Network using GraphPlot3D and loop

Instead of writing all this out I want to do the same thing with a loop and be able to manipulate n and k. The idea is to create a randomly generated network where n is the number of nodes and k is ...
277 views

### Write a number as the product of its two largest divisors

For even n >= 10 && n <= 98 I want to write n as the product of its two largest divisors (excluding ...
82 views

56 views

### sorting of expression with complex parts

I have an expression: a + i*b + d + i*e + r = 0 Now I want Mathematica to sort this like: a + d + r + i(b + e) How can I ...
322 views

### How to show the intersection points of three functions?

How can I show the intersection points of three functions in my Plot? I really can't figure it out. ...
96 views

### Combining list x-y data with a list of errobars into one list (mathematica-style)

Suppose I have a list of data I can ListPlot: { {x1,y1}, ... } , and a list of y-errorbars: {erry1, erry2, ... } Is there ...
172 views

### What's the differences between the shift-enter and MakeBoxes running?

I know the example usages of MakeBoxes in the Tutorial like this. but I want to know a subtle distinction between (1) and (3) ...
235 views

### How to get rid of nested matrices

If I type into Mathematica TensorProduct[IdentityMatrix[2],IdentityMatrix[2]] It gives me a result that has nested matrices. How do I turn that into a normal ...
63 views

### Graphics elements in a 2D lattice [duplicate]

I'm trying to write a small piece of code that will take the RHS of a first order linear ODE and return a slope field sampled at a few points. I have written: ...
200 views

### Alternative for MapThread in listable functions

How can I rewrite this more efficiently taking advantage of flo, dem, and Nsup being ...
226 views

### How to find all symbols in an expression and perform an operation on them?

========== motivation =========== Suppose, for example, I have an incoming expression like m = (3-I)x + 4(x y)/(Cos[y]) I want to find all the symbols in ...
157 views

Two lists: ...
126 views

### How to color a BSplineSurface

I am trying to color a BSplineSurface in a complex way but not having any luck using ColorFunction. I can use ...
405 views

### Formatting Fortran complex number output for use in Mathematica

Here is a list that was orignially output from Fortran. {{"(0.277336296055697, 0.120000000000000E+000)"}, {"(-1.489297392708939E-002, 0.340000000000000E+000)"}} ...
79 views

### Print notebook with all cells opened

I have a long Mathematica notebook where some cells on multiple levels are closed for clarity. When I export the notebook as a PDF via Print or ...
211 views

### How can I reproduce the MatrixForm, NumberForm, XyzForm behavior?

I wish to write a function like MatrixForm, that affect only display but not evaluation, i.e. a function that automatically is stripped away from output. More ...
151 views

### How to fix problems solving for values of BSpline function?

I generated a spline function called f using the BSplineFunction with domain {t,0,1}. ...
110 views

### “not a list of numbers” and “cannot be used for replacing ” [duplicate]

I am trying to plot a function which is based on the solution of some equation; I could get the correct figure but only after lots of warnings are printed out. The following is a minimum version of ...
110 views

### references in a nested matrix

I have a nested matrix n: ...
95 views

### Overwrite contents of a cell

I am trying to figure out a way to change the contents of a cell that has previously been evaluated in my notebook. To do this, I'd like to overwrite the cell. I've seen questions like How to pipe ...