# All Questions

30 views

### Set::setraw error help includes Module

Simple program for euler's method. I changed it to this and it works, just not to the extent I want it to. Right now I have to define x and y locally, whereas I'd rather set them as a global initial ...
134 views

### How can I change the thickness of tick marks in BarLegend?

This answer explains how to change various undocumented options for BarLegend with Method. In particular, I want to change the ...
141 views

### SymbolicC Simplified Displayed

How might I display a simplified SymbolicC below. For example in the following example ...
238 views

### 3D Gamma function

I try to plot the following function: Plot3D[Gamma[1+0.5*(n+m)]/Sqrt[Gamma[1+n]*Gamma[1+m]],{n,0,1000},{m,0,1000}] I expect that for m=n and near to it the value ...
110 views

### Bug in associated Legendre Polynomials?

Mathematica's definition of the connection of associated Legendre polynomials with $m$ and $-m$ is: $P_l^{-m}=(-1)^m \frac{(l-m)!}{(l+m)!} P_l^m$. We also now that $|m|>l \Rightarrow P_l^m=0$. ...
873 views

### Efficient Generation of Random Variates from a Copula Distribution

I have a 7-asset portfolio for which I want to simulate daily log-deltas using a Student T copula. The marginal distributions are all either Stable or TsallisQGaussian. Using NMaximize, I have ...
2k views

### RandomVariate from 2-dimensional probability distribution

A probability distribution can be created in Mathematica (I am using 8.0.1) with e.g. ...
39 views

### How to define a bivariate skew normal distribution?

There is BinormalDistribution that handles easily bivariate normal distribution and its mixtures. There is also ...
24 views

### How to (efficiently) export the tutorial files as PDF?

The English version is freely available online at wolfram learning center. I also have a Chinese version of Mathematica 9.0.1. I wonder if there is an easy way to export the help files as PDFs from ...
39 views

### Plot experimental data from .dat file [on hold]

I have a huge table of 42 columns of data in a .dat file, which I need to plot as a 3d-plot. How can I do that?
309 views

### Speeding up the built-in Rudin-Shapiro and Thue-Morse sequence functions

Version 10.2 introduced two well-studied sequences as functions: the (Golay-)Rudin-Shapiro sequence (RudinShapiro[]) and the (Prouhet-)Thue-Morse sequence (...
245 views

### Default behaviour of Hash[expr] and hashing in different versions of Mathematica

In different versions of Mathematica, Wolfram silently changed the behaviour of Hash when the algorithm is not specified explicitly ...
38 views

### Control line wrapping within a Grid cell

I'm trying to display a number tables of data in my document which have column headings that are longer than the cell width for those columns so they need to wrap within the grid cell. I have no ...
46 views

### How to replace element by element in a list? [on hold]

I have the list: myList={{a,b,c},{d,e,f},{g,h,i}} I need to transpose every element individually, so I do: ...
101 views

### How can I prevent SHIFT-ENTER moving the editing cursor?

What I do: Here press Shift+Enter to evaluate. What I get: The cursor disappeared What I want: The cursor retained Workaround: Up Arrow as many times as it takes, Right arrow as many times ...
31 views

### Mixture of a bivariate distribution defined as a copula

I define a bivariate distribution: ...
65 views

### Substitute a function's definition for its name

I'm having trouble with a function which is supposed to work on another function. Simplified version: ...
72 views

...
90 views

### Efficient upsampling of multidimensional array

I would like to efficiently upsample a multidimensional array. It's a 5000*5 matrix where each element is a submatrix 12*12 and it is that 12*12 matrix I want upsampled (to 24*24). The upsampling ...
36 views

### ListLogPlot error when forcing y axes start at 0

I came across an error I can not circumvent. When plotting the following: ListLogPlot[Table[1/x, {x, 1, 100}]] I receive a functioning plot. If I now want to ...
233 views

### Integration of linked PDFs over probability simplex

I'm trying to integrate the following expression: f[a1,p1+p2+p3+p4]*f[a2,p2+p3+p4]*f[a3,p3+p4]*f[a4,p4] Where ...
27 views

### What is diffusion map? [on hold]

I have trying to understand this diffusion map,I know it has something to with statistics and reducing no of variables in calculation, I was reading a article which uses this diffusion map to ...
29 views

### How can one easily toggle the “insufficient version” warning message in CDF and Mathematica?

Unfortunately people use different Mathematica and CDF versions and the default setting of "InsufficientVersionWarning" in MessageOptions is True both in Mathematica and the CDF Player (which is quite ...
76 views

### NDSolve : Boundary conditions of lower order

Given the (dummy) problem ...
67 views

### Loss of chart when exporting data in DynamicModule[Probleme solved by Update to 10.2]

In DynamicModule, the result is to show a panel with a flowchart and a piechart. But when I export the dynamic result in a CSV file, the piechart will no longer ...
33 views

### DynamicModule's Deinitialization & CDFDeploy

This evaluates fine for me: CDFDeploy["test.cdf", DynamicModule[{}, Dynamic["Hello World"], Deinitialization :> 1]] But this results in a never ending ...
6k views

### ListPlot: Plotting large data fast

Mathematica produces fantastic-looking graphics, but it can be slow on large data sets. Here is an example for a (random) time series: ...
154 views

### Solving differential equation with initial conditions

I want to solve the following differential equation with initial conditions: ...
18 views

### cumulative probability about the number of variable [duplicate]

the codes are: ...
432 views

### How to add a vertical line to a matrix?

Today, I want to write a program to show the solving process of a the inverse of a matrix, and I use the Elementary Transformation, so I need to add a vertical ...
34 views

### DateListPlot incorrect time zone

I'm trying to plot energy usage over time using datelistplot but the time zone on the ticks is wrong, data for 7pm shows as 3am The code: ...
41 views

### cumulative probability about the number of variable (ABC-Analyse) [on hold]

the codes for a nodes (variable list) is: ...
54 views

### Exported CDF file does not include GeoGraphics [duplicate]

I'm trying to display a map on manipulate and the case is .nb files shows it but when I export it to .cdf this format not show the GeoGraphics map ...
148 views

### Easy FindMaximum returns a wrong answer

FindMaximum in region is a new function in mma10,but when I tried the following example: ...
91 views

### Change in Lighting and Show in V10?

According the documentation for Show: Options explicitly specified in Show override those included in the graphics ...
206 views

### Exporting multiple arrays in a single HDF5 file in Mathematica 7

Bug introduced in 7.0 and fixed in 8.0 I am using Mathematica 7 and I need to export a table of data and the corresponding x and ...
123 views

### An recurrence equation that can be solved in version 7 but not in version 8

Backslide introduced in 8.0, fixed at least in 9.0.1. A friend of mine showed me this code sample: ...
59 views

### PDE: solving Fokker-Planck equation with initial and boundary condition [migrated]

Here is the problem. We have the following simple PDE: \frac{\partial p(x,t)}{\partial t}= - a\frac{\partial p(x,t)}{\partial x} + \frac{D}{2} \frac{ \partial^2 p(x,t) }{\partial ...
45 views

### Why can't I paste data from Notepad into Mathematica 10 in Windows 8.1?

I can't paste data that I have copied from Notepad in Windows 8.1 into Mathematica 10. I was able to do this when I had Windows 7 and Mathematica 8. Now when I try to paste into Mathematica 10 using ...
176 views

### Part of an Image cut/lost when exported to EPS file

When making .EPS image files for publication, I tried to assemble several Graphics by Grid. For example, suppose I have: ...
215 views

### RegionPlot returning a number

Bug introduced in 10.0 and persisting through 10.2 or later I had updated my mathematica to version 10 few days ago. And I had been shocked by the following fact: ...
525 views

### Version 10 cannot print properly?

Bug introduced in 10.0 and persisting through 10.2 or later I have two problems with printing in version 10. First, I can't print correctly with a setting of printing scale For example, I have ...
24 views

### Why does my contour plot have missing blotches? [on hold]

I think it may have to do with areas on the plot that are very small in value.
35 views

The input ...
37 views

### Incorrect Display on Linux (+HiDPI)

I have Linux on a HiDPI laptop, and after first installing Mathematica, the default font size is far too small: After searching for a few solutions, this can be fixed by either changing the ...
96 views

### Det and MatrixRank freezes on SparseArray with nonzero default value

Bug introduced in 7.0 or earlier and fixed in 9.0.1 or earlier Why does the following simple code never come to an end (at least with version 8) ...
77 views

### Find an instance satisfying an inequality involving sums

Good day. I am new to Mathematica and I am looking for advice. Is it possible to solve $$\sum_{k=0}^{n} \frac{p^k}{k!}>0$$ for $n$ where $p$ is a constant parameter? When I do ...
325 views

### Unexpected behavior from GatherBy in version 7

Bug introduced in 7.0 or earlier and fixed in 8.0.4 or earlier I have come across what appears to be a bug in GatherBy. It appears similar to the problem of ...