-4
votes
1answer
432 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
332 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
409 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 ...
9
votes
1answer
1k 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
181 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 ...
2
votes
1answer
1k 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
163 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
177 views

Correct usage of GeoPosition

My goal is to trace a ray down to the ground. I have done: ...
0
votes
1answer
130 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
182 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 ...
28
votes
14answers
17k 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
111 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
744 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
124 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: ...
34
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
209 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
179 views

Jumps on a Plot animation

The following code: ...
1
vote
0answers
88 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| ...
9
votes
2answers
2k views

Legends in combined Plot and ListPlot

I have a set of data ...
6
votes
0answers
114 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
215 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
381 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
219 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
217 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
97 views

How to make the StringExpression not occur in my case?

Why is there a StringExpression in the following code? ...
6
votes
2answers
847 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
70 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
165 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
427 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
952 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
138 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
154 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 ...
1
vote
0answers
237 views

How to Open Kernel?

My MathKernel.exe resides in the following path: C:\Program Files\Wolfram Research\MathKernel.exe. I built a webMathematica application named "WebMathematica" and placed my entire application folder ...
0
votes
2answers
225 views
3
votes
1answer
175 views

Shortening the syntax {var1, var2} /. # & /@ list

I noticed that I often turn out to have a list of substitutions in the form ...
0
votes
0answers
239 views

Licence and number of controlling kernels

I'm trying to understand the differences between controlling kernels and subkernels. I created 3 local kernels (kernel configuration options > add), each using a maximum of 8 local subkernels. ...
9
votes
4answers
432 views

Graphics can't be live and editable

Is there a way to construct an interface so that the Code and the Graphics remain in sync? For example I would like to be able to drag/drop and move around different shapes in Graphic while seeing ...
4
votes
2answers
191 views

Multiplying expressions within a list of pure functions

Let's say I have a list of pure functions that are nice algebraic expressions: say l = {(#1 - 1)&, (#1^2 + #1)&, (#1^3 - 1)&} What's an easy way to ...
11
votes
3answers
211 views

Using Through to evaluate complex expressions

Suppose we're given the expression f*g+h, where f,g,h are all pure functions. How can we evaluate this expression on some ...
9
votes
1answer
1k views

Making a Stock Options Database in Mathematica

I am trying to use Mathematica to create a stock options database of sorts. That is I wish to write a function that imports the option chain of a given stock. Unfortunately Wolfram has yet to put ...
0
votes
2answers
99 views

How can I adjust matrices into the same ItemSize and aligned well in Notebook?

I typed three matrices, but they are not aligned well, and the Items in one matrix are also not aligned well and with differenct ...
1
vote
3answers
420 views

Adding subscripts to variables

I know I can define vars = Map[Subscript[x, #1] &, {"tem", "pressure", "hum", "lat", "alt", "space", "corner"}] and ...
2
votes
1answer
191 views

Viewing the inside of cuboid intersections

    I have a number of cuboids intersecting as illustrated. I would like to see their intersection, almost the view from inside. Setting the ...
3
votes
2answers
925 views

Creating a grid of plots [duplicate]

I'm really a noob on Mathematica. I would like to create a layout of multiple plots in Mathematica. I've a function that calculates the solution, over time, of a system of differential equations. ...
2
votes
2answers
166 views

Extracting counts of contiguous zeros and ones from a binary array

I'm a novice with Mathematica, but you guys have been very helpful to me in the past. I have a binary array [100, J repetitions] consisting of zeroes and ones. I'd like to extract a histogram of the ...
0
votes
3answers
98 views

How can I generate a generalized product to two lists in a special way? [duplicate]

Let's say I have two lists, and I'd like to generate a "cartesian product" from these two. Specifically Inputs: A = {{{1}}, {{2}}, {{1}, {2}}}; B = {8, 9}; ...
15
votes
1answer
988 views

How to draw grid lines on top of a plot?

I want to use ArrayPlot instead of a DensityPlot because it seems to be faster (more here) I still want axes ticks to have real ...
2
votes
3answers
166 views

Removing of artificial sampling step effects

Look at this plot, it represents an underground interface between two formations, this interface should dip very gently left-downward, all the steps are artificial effects due to sampling. The natural ...
9
votes
2answers
243 views

Giving JLink Huge Memory by Default

I have noticed that Mathematica makes use of Java by way of JLink, for example, in the extensions such as DatabaseLink and (I think) RLink. It also seems like Java is a first-class citizen for writing ...

15 30 50 per page