# All Questions

939 views

### How to create a neon light effect in Mathematica?

I tried to use Glow to create a neon light effect on a torus object. The result shown on the left of the picture below looks quite different from the real one on ...
812 views

### PDE with Stefan Conditions, a.k.a variable boundary

I want to solve the one-dimensional one-phase Stefan problem, but I don't know how to make Mathematica understand the conditions. If you are not familiar with what I'm asking please refer to this ...
84 views

### m equations and n variables. Reducing using Mathematica

I have six equations and thirteen variables. I would like to reduce it to seven free parameters. I used Reduce to solve it but it is taking really long (one full day and no output yet) and I think ...
486 views

### How to create an adjustable Bézier curve?

I tried to create an adjustable Bézier curve with the following simple code. However the curve didn't show up. What is the problem? Please help. ...
132 views

### ToDiscreteTimeModel fails following video

Following the systems-modeling video here at about 15 min, 20 seconds in, the presenter (Bob Sanhedrick, I think) shows a model for an "Asteroids-game"-like 2D spacecraft. The model is trivial: <...
458 views

### Use MATHEMATICA to calculate the volume of the solid [duplicate]

Use MATHEMATICA to calculate the volume of the solid that results when the region enclosed by the given curves is revolved about the x- axis. f(x)=Pi^2 Sin[x] Cos[x]^3, f(x)= 4 x^2 x=0, x=Pi/4
3k views

### Use Mathematica to calculate the area enclosed between two curves

use mathematica Hence, calculate the exact area enclosed by these curves using Mathematica. $f(x)=x^3$ and $g(x)=x^5 - 2 x^3 - 3 x$ i have got the graph...now I'm stuck with finding the area
334 views

### Approximate value for the area between the curve

I've got this task: Use Mathematica to obtain an approximate value for the area between the curve $y=1/4$ and the x-axis over the interval $[1,2]$ with $50$ subintervals using the left ...
140 views

### Typing (and executing) expressions with multiple superscripts

I am trying to type (and evaluate) expressions of the following form: $$G^{a,b}$$ into a mathematica. I've tried the obvious G^(a, b) or ...
391 views

### Real and Imaginary parts of solutions to a complex linear ODE system

Consider a complex linear ODE system $x'=Ax$, where $$A=\left( \begin{matrix} 0&1\\ -2&-i \end{matrix}\right).$$ One can first find the eigenvalues and eigenvectors using ...
102 views

### What ProcessEstimator Options can I use with FractionalBrownianMotionProcess

I can generate an fBm process: ...
477 views

### Why PlotLegends doesn't give the legends ？

I am using Mathematica 9. The problem I have is with plotlengends, in particular, ...
974 views

### Graph and Markov Chain

I have the following code: proc = DiscreteMarkovProcess[1, {{0.6, 0.4}, {0.3, 0.7}}] Graph[{"A", "E"}, proc, GraphStyle -> "DiagramBlue"] How can I 'force' ...
94 views

### How to make DocumentationTools palette useable?

I am writing the documentation for my package using Wolfram Workbench 2. But when I open DocumentationTools under Palettes, I get this unpolished piece of junk: The top half is a total waste of ...
373 views

### Differential equations with a complex variable

Is Mathematica able to handle ordinary differential equations where the variable itself is complex? I am looking for solutions of ODE systems of the form \left\{ \begin{align} i\frac{da_1}{dt} &=...
441 views

### Listplot imaginary part of complex numbers

I have the following list w={{0.01,99 +0.00001414 I},{0.15,6.6370108 +0.003144129 I},{0.25,3.9515722 +0.00854493297 I},{6,0.10041 +0.28132187 I}} and I want to <...
612 views

### Computing the Hurst exponent or fractal dimension of fractional Brownian motion

The Hurst exponent is related to the fractal dimension by noticing that the fractal dimension $D$ is equal to $2-H$, where $d$ is the intrinsic dimension and $H$ is the Hurst exponent, for 1-D ...
93 views

### SyntaxForm not correctly parsed by FrontEnd

When using TagBox with SyntaxForm, I noticed sometimes it is not well parsed by the FrontEnd....
117 views

### CPU usage remains at 13% even after I quit the kernel

I use Mathematica 10.0.0, and after I run it for a while (a few simple commands for example) the CPU usage (Mathematica.exe) remains at 13% even after the calculations are over. I quit the kernel but ...
527 views

### Import iTunes xml data and convert it into a dataset or table

I have an xml file with song data from iTunes (https://dl.dropboxusercontent.com/u/1012958/iTunes%20Library.xml) and I'd like to import it to Mathematica to do some statistics. I get an XMLObject like ...
657 views

### Plotting spherical surfaces

I am trying to make surface plots of squashed spheres. The spheres are defined by a list of points. For simplicity, consider the round sphere: ...
212 views

### Is this the correct method in using bootstrapping to determine a lower confidence bound?

Quite often in industry, due to cost and schedule constraints, decisions must be made on small sample size data. I have 4 cycles-to-failure values resulting from running samples to failure in a ...
563 views

### Set of integers not divisible by smaller set of primes

Let $p_n$ be the sequence of prime numbers, and $s(x,n)=$ the set of integers less or equal than $x$ that are not divisible by $p_1,\dots,p_n.$ I can define it as follows: ...
230 views

### VectorPlot differences between v9 and v10

The following code displays differently with v9 & v10: ...
364 views

### Advanced SQL-type select statements (filtering) on Datasets

I'm trying to improve on mathematica's handling of datasets. I'm currently writing this function that should do the following. Suppose I have a dataset with columns, e.g. ...
482 views

### Optimizing Monte Carlo simulation of a Pred-Prey model

My assignment and code As part of an assignment for one of my classes, I'm trying to run a "massive" Monte Carlo simulation in Parallel on the follow model: ...
480 views

### Plot one set of “x” with at least three sets of “y” in different scale

I'm sorry if the question is too obvious, but I haven't been able to find a straight answer for Mathematica. I have 1 set of "x" with at least 3 sets of "y" in different scales. I need to plot them ...
275 views

### I need to remove a line from a ParametricPlot

What happens is that when I make this ParametricPlot: ...
117 views

### Is undocumented \.bd = ½ bad to use?

I want to use \.bd which leads to ½ as part of the name of a symbol in the front end (e.g. ...
800 views

### ImageTransformation: polar to cartesian

I am working on something that requires the polar transformation of some images. I implemented this transformation with ImageTransformation: ...
128 views

### Getting message DSolve::conarg:

I want to solve a simple linear PDE about $p_0$ which is a function of ξ, ζ and τ. However, the boundary condition is defined at ζ = h, which is a function of ξ and ...
88 views

### How to select elements with a specific style of a list?

Suppose I have a list: where 3 'up's of the list are red(I've made it to Cell Expression as follows). ...
131 views

### Plotting a region with thin cusps in high-definition via RegionPlot

I want a high-definition picture the real solutions $(s_1,s_2,s_3)$ of the system of inequalities \$3 s_1^2 < (s_2 - s_3)^2 + 2 s_1(s_2 + s_3)\\ 3 s_2^2 < (s_1 - s_3)^2 + 2 s_2(s_1 + s_3)\\ 3 ...
163 views

### Replacing graph nodes with matrices

I would like to label a graph with matrices. Suppose the graph is simple: And I have an array mats that contains the labels for vertices 1,2,3,4 (these are just random 0-1 matrices; ignore the ...
752 views

### Mapping points on the unit circle

I have a set of points P that are evenly spaced on a square grid of length 1. I would like to map these points to the circle of radius 1 as nicely as possible, while preserving relative positions as ...
113 views

### Adding Text to a ListLogLinearPlot [duplicate]

I have a problem with adding text to a ListLogLinearPlot plot. The text just doesn't show up anywhere. If I use the normal ListPlot, the text coordinates go perfectly wherever I want them to: ...
147 views

### Correct handling of milliseconds in a date time string

DateString[{2014, 5, 7, 13, 47, 44.760}, {"Year", "-", "Month", "-", "Day", " ", "Hour", ":", "Minute", ":", "Second", ".", "Millisecond"}] Returns 2014-05-...
147 views

### Conceal GUI source code

I'm working with a simple software application written in Mathematica, composing of several .nb and .m files. The application is centered around a simple mathematica GUI, which includes several ...
116 views

### Is there a reason why some specific arrangement of scattered grid points would yield bad RBF (Obtuse package) interpolation results?

I have an arrangement of grid points given by the figure below (the datagrid data is posted below at the end of the post): They correspond to electrode positions of an EEG signal. I am ...
80 views

### How to display movie without controls [duplicate]

I would like to display a sequence of images as a movie within mathematica. I am aware of ListAnimate, but I do not want the various controls included, and there seems to be no way to remove them.
265 views

### Integral of x^p

Can anyone explain why Mathematica does not return a conditional expression that handles the case of p=-1 for Integrate[x^p,x]? ...
197 views

### Problem constructing Association tables with some operators

fixed in 10.0.2 First, set up the example Dataset from the documentation: titanic = ExampleData[{"Dataset", "Titanic"}]; ...
435 views

### Speed up Schwarz-Christoffel mapping

I would like to ask your advice how to speed up Contour and Parametric plots in the following example. Let as start by defining a function ...
232 views

### Turning sound into a graph

I'm writing a comprehensive text on graphs and Mathematica and in this context I have this, let's call it, creative gap between sound and graphs. There are plenty of ways one can create graphs from ...
688 views

### Why does a certain CSV file import properly into LibreOffice but not into Mathematica 10.0?

I'm working on a project involving data manipulation and it involves working with CSV files. I know that the files are properly formatted as when I import them into LibreOffice, all of the columns ...
221 views

I decided to give the SocialMediaData functionality of MMA10 a try but it does not seem to work for Twitter. The first time I call ...
290 views

### Menu item “Interrupt Evaluation…” missing in V10

The menu item “Interrupt Evaluation…” seems to have disappeared in Mathematica 10 on OS X. Well, this is a bummer. I personally use Mathematica for very long calculations, and I was using this ...
71 views

### Why does WordData fail to find “PartsOfSpeech” when given a list of two words?

I have the following sample code. StringSplit["a test string", " "] Thread[WordData[%, "PartsOfSpeech"]] The output I get is: ...