# All Questions

238 views

### How do I flip x and y value of a list in mathematica? [closed]

I am very new to mathematica. I have been trying to the following without any success. I have a list like this : data = {{1,2},{3,4},{5,6}}. I want a list ...
89 views

### How to use a While loop with NDSolve?

So basically I have this coupled ODE system I'm trying to solve numerically: ...
115 views

### Plot a function with a discrete part

I would like to plot a function like this one: ...
39 views

### NDSolve with external function [closed]

I have a complicated function g[a_,s_,t_] where s_and t_ are constants added by hand for ...
241 views

### Setting up parallel remote kernels

I'm having trouble setting-up a parallel remote kernel. I have correctly set-up remote kernels and can use them instead of the local kernels, by executing tunnel.sh ...
120 views

### RegionPlot3D of MeshRegion with VertexColor-like behavior

I regularly use the VertexColors option with GraphicsComplex[] to render images of objects with certain attributes at the ...
183 views

### Calling CUDA cuFFT

Following ybeltukov's excellent answers (see here and here) about how to access the CUDA library functions and interact with Mathematica through CUDAMemory, I tried to compile the code given in ...
274 views

### NIntegrate-ing a compiled function

I'm trying to integrate numerically in 6 dimensions a very long expression and I read about the option to NIntegrate a compiled function which should be faster. ...
113 views

### how to cancel arbitrary term in fractional formula

I often encounter this kind of problem that I want the fractional formula to be looked like the way I want it to be. For example, this one $$\frac{R^2 \left(g m_1-g m_2\right)}{J+m_1 R^2+m_2 R^2}$$ ...
98 views

### 4D array not exporting to .mat file

I am using Mma 9.0 I am trying to export an array with Dimensions {5,100,160,160} to a .mat-file using the Export command, but ...
180 views

### Import csv file which contains columns of different lengths --> How can I delete empty fields?

I have the following problem: I want to import a csv file into Mathematica. I file as a lot of rows and columns, but the column lengths differ for certain rows. 2 columns always belong together, ...
74 views

### Unevaluated form of an expresion [duplicate]

I have two matrices - s1 and s2. I want their sum to remain unevaluated. For instance, the command ...
583 views

### Quit the Kernel and start new session automatically

The question is how to quit the kernel, start a new session automatically, and to be able to run such procedure from e.g. Button. This is especially useful when ...
103 views

### Traffic growth forecast: showing the change of linear regression

The following picture shows a changement in the trend of data. (The data used are available here). Is there any tool that can show this change of trend? Until now I managed to show even more ...
156 views

### Combinatorics: Placed errors

Consider a vector of length n where each element can take one of the values U, X, ...
121 views