# All Questions

13 views

### Fourier Transform Help

I'm trying to do a Fourier Transform of the following Data, but I'm completely stuck. Here's what I've done so far: ...
22 views

### Filter through list and lump data [duplicate]

I have a very large data set (around 3000) that looks like: ...
18 views

### Invariant error plot for an arbitray system of ODE

i try to use InvariantErrorPlot command for a generic system of ODE but i find only example with pre-building equations from Mathematica Packages. This is one of ...
28 views

### 2D Cellular Automaton: Initial conditions

I'm trying to write in Mathematica for a 20x20 grid, with 100 colours, with 4 neighbours. I want the initial conditions to be a 20x20 matrix consisting mainly of zeros. ...
35 views

### Export resuts to excel

I have the following problem solved in Mathematica ...
45 views

### Integrate double definite integral [duplicate]

I am trying to evaluate an integral numerically and plot its result. My mathematica code is: ...
29 views

### Descriptive interface for data analysis workflow

In exploratory data analysis, data cleaning and structuring tasks, it's convenient to temporarily apply functions like Dimensions, Depth, (and also TableForm, MatrixPlot, etc) as informative checks to ...
39 views

### Combine Plots into a single non-rasterized Graphic with no spacing

Suppose that I have two plots, pl1 and pl2: ...
22 views

### I need to cite the same reference several times. Mathematica citation manager messes up

Mathematica cannot seem to properly number citations when there are several citations to the same reference. Is there some trick to make this work?
194 views

### What does rule 30 mean in this example?

This starts with the list given, then evolves rule 30 for four steps. ...
185 views

### What does ImageSize -> 1 -> 1 mean?

On the page http://www.wolfram.com/language/gallery/blur-faces-in-an-image/ the example code has ImageSize -> 1 -> 1. I am unfamiliar with this chaining of ...
48 views

### Wait / sleep miliseconds

Is there any way to make Mathematica stop for some miliseconds? I know about the Pause[] but it seems it only works with seconds.
53 views

### Code Performance Tuning

The following code takes over 4 seconds to run. Any one has suggestions to make the expressions for qf, phi, ...
47 views

### How to make an arbitrary number of plots have different labels/colors/etc?

I'm sorry but I'm not sure how to phrase this question well. Frequently I have a function that produces and returns a Plot[] or array of Plot[]'s, which I can then display with Show[], or combine with ...
28 views

### Is there any way to define a new binary operator?

I am looking to define a new operator that would work similarly to the + or - operator. My end goal is to make a dice operator for calculating random distributions in the normal d20 fashion (e.g. 5d6 ...
14 views

### Problem inserting data into a mysql table with column names having a space

I have a mysql table whose column name has space. I tried inserting the data into this column. I got an error I tried a sample code, which tests accessing the columns with a space and that returns ...
73 views

### Parametric plot of multiple graphs on the same axes

I'm trying to plot on a single axes system multiple graphs but ran into a problem when tryinf to label my graphs. Here's what I've used so far Mathematica code: ...
25 views

I am the admin of a Facebook group for our year at university and wanted to graph the members of the group like you can with your own friends so we can find the isolated people and get rid of them (as ...
47 views

### a design of abstract data structures, how robust is the presented design?

I know that this question has been asked many times. This is my take at it. Ideas are not mine, they are borrowed from many posts on this site. Below is the core of the best setup that I came up with ...
50 views

### Sorting a large file

I have some huge logs, which are text files, containing up to a million rows each, and I need them sorted. Because trying to import one obviously makes Mathematica run out of memory, we must rule out ...
232 views

### How to match a cyclically repeating sequence?

I have run across several times recently where I must match a sequence that is cyclically repeating. For example, with the sequence, Sequence[a, b, c] how would ...
59 views

### Mapping the imaginary axis of the complex (s) plane with RootLocusPlot

In this problem is very difficult to analyze the roots s. Firstly I thought that the problem is in precision, but I am not sure. The criterion which I want to obtain is that one of these roots has a ...
24 views

### how to highlight edges in random geometric graph

i am trying to highlight a random graph in which edge exists if each node shares a common key like random geometric graph generation problem next i want to highlight all the edges which are associated ...
270 views

### How to get a country's official languages?

According to Wikipedia Of the 193 widely recognized countries, 178 have an official language at the national level (NB:or more than one) The only exceptions are: Cyprus, Czech Republic, ...
20 views

### Exporting data extensions in fits file

Context In Astronomy the de facto standard for images and data is FITS. I would like to exporting heterogenous data sets into a single fits file. Attempt I am interested in exporting into a fits ...
75 views

### Exporting a list as RawData or Data

My problem is quite simple yet I do not seem to figure out the solution to it. I am simply trying to export a list in Mathematica, actually a list of lists of lists etc, something like ...
49 views

To help distinguish the various dimensions, I have a model which outputs a vector in a series of time intervals, I then construct a list of these models. Next, I would like to compute the outer ...
112 views

### Drop selection of columns from a ragged array

I have an application where I need to drop some arbitrary list of columns from a ragged array (where of course the shortest array rows have at least all the specified columns). E.g., given a ragged ...
41 views

### How to define a function that operate with a base case recursively?

Let's start from the simplest case: say I have a function $f(x)=x$, and let's say I want to define a new function (of $x$) to be its $n$-th power $(f(x))^n$. How should I write the code? I tried: ...
32 views

### Functional derivatives in Feynman Path Integral

Is there any package that can simplify functional derivatives in path integrals? For instance the expression (integrate over, $x,y,z,u,v,r,s$): ...
16 views

### Error in CUDALink installation? SystemInformation[] does not report version number

I am using Mathematica 9.0.1.0 for linux, on Crunchbang "Waldorf" (Debian 7). Video card is nVidia NVS 3100m. CUDA version is 5.5, and video drivers are 331.49 as installed by smxi. My issue is ...
32 views

### How to calculate Cotton Tensor with Mathematica? [on hold]

I have calculated upto Ricci tensor. How to calculate Cotton Tensor with Mathematica?
52 views

### NumericalODE_Solve/Plot [on hold]

I have an ODE given by $${-Ea^2 } \psi''(x)+V(x)\psi(x)=E \psi(x)$$ where $a>0$ and E are constants. I need to write a code in which I can calculate $f(x)$ and $E_n$ for $n=1,2,3,4,5$ when I ...
159 views

### Differential operator squared

I defined a one-dimensional momentum operator $\hat{p}=-i\hbar\frac{\partial}{\partial{x}}$ in Mathematica p = -I * h * D[#, x]& and I want to get the ...
16 views

### NDSolve_ODESolve_Plotsolution [duplicate]

I am trying to use mathematica to solve this problem. Thank you! Given the ODE $$-\frac{a^2 V_0}{2} f''(x)-V_0\cos\big(\frac{2\pi x}{a}\big) f(x)=E f(x)$$ (a,V_0) are positive real constants. Find ...
50 views

### Elliptic curve cryptography in Mathematica

I can find no resources for doing elliptic curve cryptography. I have used the finite field package, but I find it cumbersome and it does not seem to have any builtin methods for ECC. How can I get ...
22 views

### Square root of a value defined in a finite field?

I am trying to find the right way to compute the square root of a number defined in a finite field. For example, ...
42 views

### How to get CUDALink working on linux (Crunchbang Waldorf) with NVS 3100m

I am trying to get CUDALink working on my laptop. I am running Crunchbang "waldorf" which is based on Debian 7 "wheezy". I am a linux novice. The issue is that Mathematica can "see" the nVidia ...
45 views

### Are there some other ways to solve a second PDE except DSolve?

I have a partial differential equation as follows: $$\frac{\partial p(x,t)}{\partial t}=\text{Dp} \frac{\partial ^2p(x,t)}{\partial x^2}-\frac{p(x,t)-\text{p0}}{\tau }$$ What I try to do was to get ...
58 views

Here is my code: ...
31 views

### How to convert a probability distribution to raw probability [on hold]

I have constructed tables of binomial probability distributions. I'm looking to find the raw probabilities of landing in each respective bucket, instead of having the current row's running total. The ...
108 views

### Plotting Zeros of a Complex Variable

I'm trying to plot the zeros within a certain distance from the origin using Mathematica of a given function (in my case, partial sums of the Zeta Function). I've tried plugging in simple functions, ...
41 views

### Addition of sparse array objects [duplicate]

I have been having some trouble with the addition of large (but very sparse) matrices using SparseArray. Here is the simplest example to illustrate the issue. First, I will define diagonal matrices ...
48 views

...
38 views

### Force multiplication by a single factor [on hold]

I have an expression that Mathematica decides to return in the general form: y = f ( a/f + b/Sqrt[f + 2] + c*f^2/Sqrt[f + 2]) (actually my expression is much ...
158 views

### Paste letter grades B+ , C-, A, B into notebook and not get B+C-AB

I have worked for two days to find a way through this problem. I am porting my student grade records into Mathematica from spreadsheets, or sometimes from my college web sites, or sometimes from my ...
37 views

### Represent finite sum as an integral [migrated]

I'm trying to estimate a number of iterations in cycle via integral function. For example, I can represent the cycle below ...
80 views

### Insert a linebreak and character repeatedly into a very long string

Suppose I have a very long string ...