4
votes
1answer
151 views

Check if an inequality holds among the solutions returned by Solve [duplicate]

Let's say I solve a system: Solve[{a == 3* c, b == 2 *a}, {a, b}] and then want to see if the values found for a and ...
5
votes
3answers
479 views

Can't load LevelScheme package

My problem is that I can not load the LevelScheme Package. I am using Mathematica 8. I downloaded and unzipped the folder from this website. I saved it in the ...
8
votes
3answers
236 views

PlotMarkers don't change colour for different lines

I have a set of data and several function operating on the same data, that I wish to plot together in a ListPlot. I need different ...
1
vote
2answers
219 views

Clear labelling gray-scale plots

I am plotting a number of functions (at least 4 in one plot) with a legend. Needless to say, it is important that it is clear from the legend which line belongs to which function. I tried to play ...
2
votes
0answers
62 views

Are FEM methods integrated in NDSolve yet? [duplicate]

About a year ago there was a discussion on these forums as to whether FEM methods have already been integrated into NDSolve in Mathematica. The answer back then was ...
0
votes
0answers
128 views

My algorithm produces too many permutations

Imagine the following problem. A population of size $n$ consists of $i$ men and $n-i$ women. The population goes to the casino. Call $g_m$ ,$g_w$ the amount of money won by men and women respectively. ...
3
votes
1answer
143 views

Mouse click on BarChart elements

What I would like to do is explore a data set by clicking on elements in a BarChart. I have some existing code which uses a manipulate which I was hoping to modify. ...
1
vote
1answer
131 views

FindMinimum gives wrong solutions inside a loop

I have a density function $\rho(r,z)$ and I want to calculate the minimum distance $d_{min} = \sqrt{r^2 + z^2}$ from the center (0,0) in which $\rho$ becomes negative. The easiest way is to find where ...
4
votes
1answer
281 views

Erfi[z] expansion in Mathematica: is this a bug?

Looking at the expansion: Series[Erfi[x], {x, Infinity, 1}] I obtain -I+E^x^2 (1/(Sqrt[\[Pi]] x)+O[1/x]^2) (note the ...
2
votes
2answers
175 views

Lossless TIFF or PNG export

I'd like to export an output from MatrixPlot[], however, the output file size seems to depend on my specification of the ImageSize -> {..., ...}. How might I export a TIFF with all of the data in the ...
3
votes
0answers
243 views

Use of RegionFunction with Graphics3D?

I'd like to plot in 3D a long list of polygons created with TetGenConvexHull, but only in regions specified by a function. Is that possible? As I have it my ...
1
vote
1answer
81 views

Make the linked images show well?

Cell[TextData[{ "(16) ", ButtonBox["[images]", BaseStyle->"Hyperlink", ButtonData->{"http://i.stack.imgur.com/gHWby.png", None}]}], "Text"] After click ...
0
votes
2answers
155 views

Taking averages at certain intervals

I am trying to take averages of a large two dimensional array at certain intervals. For example, for the first row, I want to take K averages of 500 values. Here is what I am trying ...
6
votes
2answers
261 views

Add arrows over matrix

How can I plot this graph g1 = Table[x[i, j], {i, 5}, {j, 5}] // Grid; Rasterize@g1 I added these arrows by Ctrl+D's graphics tool. This way maybe hard ...
10
votes
3answers
489 views

Multiple notebooks in Mathematica

While working with multiple files in Mathematica, is there a way to have the names of the files appear along with the minimized window of the file. I mean that sometimes I forget which file was places ...
3
votes
0answers
130 views

DownValues for Built-in Functions

N.B. I have bitten the bullet, and I am going through Leonid Shifrin's "Mathematica Programming: An Advanced Introduction." (Which needs no introduction in this forum) One question I have: could one ...
5
votes
4answers
299 views

Drawing normals to a curve

I want to draw a series of normals to a curve, where the curve has been parametrized by a single angle, i.e., the polar angle. The curve is actually sinusoidal perturbation of a circle of radius ...
-4
votes
1answer
338 views

Solving Det[matrix] == 0 with an 8 x 8 matrix [closed]

I want to solve the equation Det[matrix] == 0 which came from the consistency of solutions of a set of 8 equations. This matrix has two constants λ and μ and two variables $P$ and $q$. I want to get ...
0
votes
1answer
300 views

Function to marginalize a table over given parameters

Let us say I have generated a table tab with entries {p1,..,pd,chi2[p1,..,pd]} of dimension ...
4
votes
2answers
334 views

Memory efficient generation and selection of tuples

The short of this question: I need to find a bunch of n-tuples of {0,1} which do not fail to satisfy a set of (non-linear polynomial) equations, without hogging up all of my memory by trying to ...
7
votes
1answer
830 views

Hardware Performance Metrics for Mathematica

Dear Mathematica users I am looking into buying a new computer and Mathematica is one of the main applications I run. To help me assess the overwhelming welter of choice out there: I'd like to know ...
40
votes
5answers
2k views

Vary the thickness of a plotted function

I know, that I can change the color of a function with the help of PlotStyle: Plot[Sin[x], {x, 0, 3 Pi}, PlotStyle -> {Green, Thickness[0.01]}] I also know, ...
1
vote
1answer
166 views

Parallelization of the stochastic Euler scheme

I wrote a simulation to approximate the law of a stochastic differential equation via a Monte Carlo method using the stochastic Euler scheme. Then I thought, it would be a good idea to speed up ...
1
vote
1answer
940 views

Can Mathematica 9 peacefully coexist with Mathematica 8 on Windows?

I am running Windows XP Professional (Service Pack 3). I am a graduate student, and my institution has a license for Mathematica for Students. Back when Mathematica 8 was released, I was worried ...
2
votes
1answer
151 views

Making a BarChart showing many data points look better

I have a BarChart used to show traffic on a network interface. I have data for every 0.5s, upto 1 min, which gives a lot of points. Is there a way to make it look ...
1
vote
1answer
153 views

Correct usage of GeoPosition

My goal is to trace a ray down to the ground. I have done: ...
0
votes
1answer
118 views

Choosing range when plotting data from array

I have loaded data from a CSV file which i want to plot in a BarChart but i only wish to plot 0:100 instead of the entire ...
0
votes
2answers
165 views

Unwanted parentheses appearing in a notebook that is opened by a button

I am writing an interactive document and have an idea to make in-line buttons that on demand would create and bring up separate notebooks containing some explanations or a remindings. One example of ...
19
votes
12answers
11k views

Alternatives to Mathematica

Inspired by the recent question Alternatives to LaTeX (currently 58 upvotes) on http://tex.stackexchange.com/: Are there any paid-for or open source alternatives to Mathematica which produce equal or ...
0
votes
1answer
103 views

How to transform a DynamicModule into a Graphic

I am generating a graph through a custom function using DynamicModule: graph1 = customFunction[a] If I try to do: ...
3
votes
2answers
596 views

Importing data into an array, column by column

I'm building a large matrix having different sized rows consisting of a few columns. The different columns are imported .txt files. Why can't I build the matrix column by column? For example, I ...
2
votes
1answer
116 views

ParallelTable slowdown for a task involving ComponentMeasurements

I'm having trouble understanding a slowdown associated with code I'm running, which should be trivial to parallelize. My code looks something like this: ...
33
votes
3answers
1k views

Implementing hexagon binning in mathematica

Hexagon bin plots are a useful way of visualising large datasets of bivariate data. Here are a few examples: With bin frequency indicated by grey level... ..and by glyph size There are packages ...
4
votes
2answers
177 views

How can I replace the general element of a geometric series with the sum of the series?

Consider the list mylist = {b(a/bc t)^r, a/b(b t)^r, a (c/d t)^r, ...} where a, b, c, t, etc., are real numbers between 0 and 1. I want to sum each term in the ...
2
votes
1answer
164 views

Jumps on a Plot animation

The following code: ...
1
vote
0answers
81 views

How can I get Mathematica to simplify my square root expression? [duplicate]

$$\sqrt{r^2 e^{4 \gamma (r)-4 \psi (r)}}$$ If I set var = r^2*E^(4 \[Gamma][r] - 4 \[Psi][r]) Simplify[Sqrt[var], var > 0] I just get $$\left| r\right| ...
8
votes
2answers
2k views

Legends in combined Plot and ListPlot

I have a set of data ...
6
votes
0answers
92 views

Automatization of SyntaxInformation and argx?

Does anybody have a good way to automate the setting of SyntaxInformation for any custom function? I have a ton of functions for which I want to set SyntaxInformation, and doing it by hand seems a ...
4
votes
5answers
199 views

Creation of one column matrix

I want to create an one column matrix with the 1st element to be -1, and all the other elements to be zero. However, I want to be able to make a matrix of this kind with arbitrary dimension, that is, ...
0
votes
1answer
313 views

How to nest the output of FindRoot in a table of Derivative evaluations?

I am using ParametericNDSolveValue to numerically solve an ODE system, which I then use to find the definite integral of one of the variables in the solution for different values of a parameter. Here ...
10
votes
1answer
193 views

TimeConstrained dynamic change of maximum time

I would like to run a time consuming function: TimeConstrained[f[x],maxseconds] and be able to change maxseconds during running (increasing or decreasing max ...
1
vote
1answer
191 views

merge daily and hourly time series data

I have two lists of time series data. One of the lists is daily and is formatted like this; ...
1
vote
1answer
89 views

How to make the StringExpression not occur in my case?

Why is there a StringExpression in the following code? ...
6
votes
2answers
578 views

How can I type in math calligraphy letters?

I cannot find this kind of letters in the pallete. math calligraphy? I can only find this in Mathemtica.
0
votes
1answer
64 views

Extracting function variables from a list [duplicate]

Evaluating the following func[x_, y_] := x^2 + y^2 listn = {{a, b}, {c, d}, {e, f}}; Map[func[##] &, listn, {1}] yields {func[{a, b}], func[{c, d}], ...
1
vote
0answers
141 views

Opening a pipe with OpenRead

My question is if it is possible to directly open a (named) pipe using OpenRead. Introduction In the docs of OpenRead, we have, under details and options, If ...
8
votes
1answer
386 views

How to align two overlayed plots, one being rotated?

I have two plots which I want to present on a single figure. The bottom left corner is a point of origin of the first plot. The top right corner is a point of origin of the second plot. Also, the ...
4
votes
0answers
807 views

Numerically solving system of partial differential equation

I am trying to solve a system of partial differential equation with boundary conditions. But I got an error message saying NDSolve::icfail: Unable to find initial ...
2
votes
1answer
123 views

MathLink and a function of a real variable

I am trying to use a real function of a real variable written in C from Mathematica, my .tm file reads as follows: ...
4
votes
3answers
141 views

Am I missing the point of ViewCenter?

Based on this description of 3D graphics and the associated Wolfram Training video, I anticipated that using the mouse to rotate the graphic below would rotate around the point where the three ...

15 30 50 per page