# All Questions

262 views

### Distance Time Warp (DTW) function implementation in mathematica

The DTW (Distance time warp) is given here http://en.wikipedia.org/wiki/Dynamic_time_warping There is an implementation of DTW in R as well as MATLAB. However i am unable to find something for DTW in ...
100 views

### Understanding the order of applying Rule to expression [closed]

I am a little confused about: In what order is a Rule tried to apply to an expression? In a depth-first order or otherwise? For example, ...
113 views

### RawArray crashes the kernel

fixed in 10.0.2 RawArray seems to crash the kernel on my machine RawArray["Byte", {}] Is this a bug? Any insights why this happens? My system: version 10.01 ...
90 views

### Assigning to the “local” version of a symbol

Compare Manipulate[c[1] = 1; c[1], {c[1], 0, 1}] with Manipulate[Do[c[i] = 1, {i, 1}]; c[1], {c[1], 0, 1}] The first case ...
430 views

### Why some built-in functions are slow

I just wonder why some built-in functions are slower compared to some other ways using more than one built-in functions for doing same job. consider this example: ...
228 views

### how to speedup subpixel registration

I have a bunch of small images that I need to register with larger images with sub-pixel resolution (ie. based on image interpolation ) This works.. seeking advice to improve performance. Create a ...
144 views

### Solving a differential equation with NDSolve and plotting it WITH the use of Manipulate

I want to solve, let's say, this differential equation: y'[x]=y[x]^n Given any initial condition (which I might want to manipulate too). I want to plot the ...
262 views

### Manipulate in Manipulate

Question 63982 (Altering values in Manipulate with dynamically generated controls) got a very interesting answer from @belisarius, in which he used a Manipulate ...
78 views

### Spread multiple edges by a specified scaled distance (Mathematica 10)

Is there way to spread multiple edges by a specified scaled distance for Graph function in Mathematica 10, something similar to MultiedgeStyle in GraphPlot for example, I would like to write: ...
63 views

...
93 views

### Number of sequences with a certain condition

Suppose I have the sequence {2, 4, 6, 8, 10, 12, 14, 16}. How could I calculate the number of tuples so that for every term save the first one, the difference from ...
73 views

### Disabling Mathematica's automatic sort of output

I used Mathematica to greatly simplify an algebraic expression. I now want to copy it into some notes, but it by defaults things in a very non-intuitive manner. I have a sorting function that will ...
84 views

### How to rearrange CharacteristicPolynomial[ ] terms?

I have a symbolic matrix A, which I need to find the characteristic polynomial, then order the polynomial in greatest-to-least form. (Ultimately to find the matrix inversion via Cayley-Hamilton method)...
165 views

67 views

### Fast functional method for multiplying duplication numbers in a large list

Consider a list of symbols: mySet = {a, b, b, c, a, b, c, d}; I would like to form the product of duplication numbers. In the example above, I have 2 ...
56 views

### How do I solve a profile interval (statistics)

I want to calculate a 95% profile interval for f0. Do worry too much if you do not understand what it is. I will illustrate with a simple example. ...
47 views

### Simplifying a fraction with bringing in new variables

Let's say I have a fraction like this: (a b x^2 + a^3 x) / (a^2 b x) and I would like to simplify it by multiplying both the numerator and the denominator with <...
88 views

### Plot function the uses Solve

Can someone tell me why I get an error (and how I get around it) from Solve while I try to Plot a function like: ...