# All Questions

77 views

### Edit built in symbol

I would like to add new attributes to built in symbols (e.g. ElementData or PolyhedraData) so that I can still call the symbol ...
71 views

### Breaking out of a NestList [closed]

I'm trying to use NestList to calculate a continued function. It works great, except when there is an overflow or an indeterminate value, which might happen for some initial values. How can I use an ...
69 views

### Generate a dynamic interface with sliders out of a list of rules

I would like to generate a function which takes a list of rules as input and generates sliders which are altering the values of the list. Then I would like to use this function in an dynamic module as ...
145 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|>}]; ...
111 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: ...
86 views

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

Given weather data for 2013 and 2014 as follows: ...
66 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]$ ? ...
43 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 ...
24 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: ...
111 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 ...
9 views

### on characterization of a riesz homomorphism on C(X) spase [migrated]

what is proof that:Let K be an arbitrary topological space and π : C(K) −→ R be a map with π(1) = 1. if π is a algebra homomorphism then it is an Riesz homomorphism.
16 views

### Mathematica PowerMod inverse and mpz_powm in C [migrated]

I have implemented an algorithm in Mathematica that uses PowerMod to find a modular inverse. I now need to implement this algorithm in C, and I've decided to use gmp and its function mpz_powm, which ...
48 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 ...
149 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 ...
213 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. ...
91 views

### Problem with NDSolve

I'm solving a PDE that is partially elliptic. So I need to solve the equation iteratively. My problem is at the end of the code. I'm doing interactions manually in order to evaluate the code. At the ...
101 views

### How to unprotect a variable in a package

In Mathematica 9, I had the function(s). I apologize for the weak formatting. ...
94 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 ...
207 views

### Manipulate crashes after running 4 minutes

The following code generates the familiar 3D-plot: ...
58 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 ...
53 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 ...
181 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 ...
67 views

### Optimization in Mathematica [closed]

There is a R package called TIMP. By this package someone can fit data to a model. There is a GUI for TIMP called Glotaran. When I fit my data by this package it does not take so much time to get the ...
101 views

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

I have huge matrices in the form of ...
104 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 ...
144 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.
244 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. ...
152 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 ...
89 views

### Correlation test issues

When using Correlation[] function I sometimes get the strange warning: ...
253 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 ...
85 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: ...
96 views

I use ...
84 views

122 views

### Version 10 cannot print properly?

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 some plots in a notebook, ...
159 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 ...
38 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 ...
103 views

### Interacting with 3D Graphics, for export [closed]

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? ...
50 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 ...
39 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:- ...
77 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 ...