# All Questions

1answer
536 views

### Export dataset to JSON

I'm experiencing a weird issue. Consider a dataset defined like this: dataset = Dataset[{<|"a" -> 1, "b" -> 2|>, <|"a" -> 3, "b" -> 4|>}]; ...
1answer
211 views

### Median of Dataset in Mathematica 10

I'm having trouble calculating the median of a Dataset[] in Mathematica 10. The situation is as follows. Consider a dataset that was defined as follows: ...
1answer
173 views

### Extract data from WeatherData as a list of associations

Given weather data for 2013 and 2014 as follows: ...
2answers
79 views

### Solve simple differential equation - Error?

I get the error "The function Te appears with no arguments." when running this code. I'm not sure why. Is it because of the $Abs[\Gamma]$ ? ...
1answer
88 views

### naturalcolor stylesheet not working between linux and windows

I have encountered a weird problem with Mathematica 9. I have it installed on my laptop running Windows 7 and on my work computer now running Debian Wheezy. I am also using dropbox to access my work ...
0answers
29 views

### Use FindRoot solution as number in function [duplicate]

I would like to save a number that I gain with FindRoot so that I can use it in another function. I tried: ...
1answer
203 views

### How to plot data points in the form X, Y, E(X, Y) where X and Y coordinates are not ordered?

I have got a file with field values (RF simulation of a resonator) which consists of 3 columns: X and Y cartesian coordinates ...
1answer
130 views

### Can a Mathematica Application be inside another Application?

The file structure of a simple MMA Application can have the form: MyApplication MyApplication.m SomeAuxiliarPack.m Kernel init.m Where ...
2answers
2k views

### how to solve ODE with boundary at infinity

y''[x]-x y[x]==0 y[0]==AiryAi[0], y[infinity]==0 the analytic solution to this ODE is the Airy function y[x]=AiryAi[x] if I ...
2answers
295 views

### Error with “Newton's method” in Wellin's Mathematica book

In Wellin's Programming with Mathematica book, here's one of his implementations of the Newton method, where the iteration runs until the error tolerance is reached. ...
2answers
235 views

### How to unprotect a variable in a package

In Mathematica 9, I had the function(s). I apologize for the weak formatting. ...
1answer
233 views

### How to force mathematica v.9 and 10 notebooks to open in their respective front end

I have version 9 and 10 installed on Windows 7. if I double click to open version 9 notebook, then it opens in version 10, how I can force a notebook to open in its respective front end. I have ...
3answers
355 views

### Manipulate crashes after running 4 minutes

The following code generates the familiar 3D-plot: ...
1answer
172 views

### Can TemporalData be used as a container for TimeSeries and TimeSeries Metadata

When I create two TimeSeries with some MetaInformation I can combine them into one ...
1answer
439 views

### Remove curly brackets _completely_ to map a function to the elements of a list [duplicate]

Most list manipulations can be done with Flatten, Partition and Take. I didn't managed to ...
2answers
196 views

### Time-efficient creation of matrix

I have expressions like xx1=FF[1, 1] GG[1, 1] + FF[1, 1] GG[2, 2] + FF[2, 2] GG[2, 2] xx2=2*FF[1, 2] GG[1, 1] + FF[1, 1] GG[1, 2] + FF[2, 2] GG[2, 2] and I want ...
2answers
119 views

### Time-efficient manipulation (zeroing) of expression

I have huge matrices in the form of ...
4answers
229 views

### Import xls data with dates

I have an excel table that have 2 columns, the first one are dates, and the second one are values. I want to plot the value vs the date. I need to: first clean all the non numbers strings like ...
1answer
496 views

### How to split a Dataset into training and testing for machine learning?

Suppose I have iris data In the Dataset Format. How to split the iris data Into training and testing for Machine learning? For example,Transform the data for Classify.
3answers
375 views

### Rotate lines around their midpoint

I am trying to rotate a series of lines by the same angle around their centre point. Say each line is defined by a co-ordinate at each end, simplified example below of a typical dataset. ...
1answer
190 views

### Font changes once Exported for Text inside a Grid

I am trying to work with Mathematica 10's new font and have found a simple way to revert the font family to Times New Roman for all my figure. I enter the following command in the ...
2answers
116 views

### Correlation test issues

No error in 10.0.2 When using Correlation[] function I sometimes get the strange warning: ...
3answers
335 views

### Plot graphs with direction and numbered in Mathematica

I would like to write a code in Mathematica such that it shows the direction with numbers on points. I wrote this code which does not do this. I want just to complete this code with two options I ...
0answers
107 views

### Convoluting inverse square root with Gaussian

I would like to convolute the inverse square root on the interval [0,inf] with a Gaussian function, like so: ...
1answer
247 views

I use ...
1answer
145 views

0answers
550 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 ...
2answers
208 views

### Why is mathematica giving wrong and incomparable results for the integral?

1) Integration of Gaussian Distribution with $(x,y,z)$ ranging from $-\infty$ to $\infty$ gives 1 as expected using this command in mathematica. (Total Probability = 1) $\sigma = 200000$ and ...
0answers
85 views

### silent soundnote and superimposing sound objects

In Mathematica 9, Soundnote[None] has zero duration if it is the last note in a Sound expression. For instance, the sound object ...
3answers
201 views

### Interacting with 3D Graphics, for export

Are there any export formats which preserve the ability to interact with 3D Graphics? (In particular, the ability to rotate.) EDIT: I've found this question: How to make a 3D plot auto-rotate? ...
0answers
81 views

### Fourier transform an expression to obtain a distribution?

I have this expression for the correlation function for a rigid rotating molecule: $G(\tau) = 4 \pi \int \omega ^2 P_2[\cos (\omega \tau)] P(\omega) \, \mathrm{d}\omega \quad [1]$ where $P_2$ is a ...
0answers
48 views

### Placing package in existing Utilities` context has odd paraellelization effect

I noticed this in V.10 but possibly it was in effect in V.9. I have a package which in simplified form looks like:- ...
1answer
306 views

### kernel Local crashes during the course of a For loop

I want to find the minimum of the function r[x,p] subject to the constraint w[x,p,t]==0 (t ...
1answer
170 views

4answers
1k views

### How to change element color in Periodic Table?

The command ColorData["Atoms", "Panel"] generates a periodic table. As I don't want to reinvent the wheel, I asked myself how to change the color of each cell ...
2answers
280 views

### Charts performance

Evaluating the following lines in my computer takes near six seconds in Mathematica 10 and near 5 in Mathematica 9. I consider this very slow as only quantiles are being calculated from data to ...

15 30 50 per page