4
votes
0answers
67 views

Efficient image stacking

I have a list of lists of images that I would like to stack and create mean images for each list of images. Images are .jpg files 2592x1944 pixels large. Each list ...
-1
votes
0answers
24 views

How can I verify double integral solution?

I have a double integral as follows \begin{equation} 1-(\int_0^\infty (\frac{Cje\cdot Cte \cdot e^{\frac{-w}{Cte}}}{(Cte+Cje \cdot w)^2} + \frac{e^{\frac{-w}{Cte}}}{(Cte+Cje \cdot w)}) ...
3
votes
2answers
94 views

Well-defined symbolic integral leading to ConditionalExpression

I would like to determine a closed-form expression for the following symbolic integral $$ \int_{-1/2}^{1/2} \!\!\!\! \mathrm{d} x \int_{-1/2}^{1/2} \!\!\!\! \mathrm{d} y \, \frac{1 + b x + c y}{1 + e ...
-1
votes
0answers
33 views

What does F[[1]] mean? [on hold]

I defined a function "F" and checked length, then I wanted to select terms I needed, and failed. One of my friends said I should typed something like that: ...
1
vote
0answers
17 views

Get .NET Link to work on Raspberry Pi

Is it possible to get the .NET Link working on Raspberry Pi? I understand that Linux and MacOS versions of Mathematica come with .NET Link running on Mono and now even possibly under new open-source ...
1
vote
1answer
86 views

Integrated Solution Graphics [on hold]

I want to draw this nonlinear differantial equation' graphic with other solving equation (in same graphic). ...
1
vote
0answers
33 views

Proving positive definiteness or semi-definiteness of a matrix

I have the following 4x4 real symmetric matrix: $K=\begin{bmatrix}3-3w & -\frac{4}{3}+a+2w & \frac{5}{12}+b-\frac{w}{2} & 0\\ -\frac{4}{3}+a+2w & -1-6a-3x & ...
1
vote
1answer
107 views

Problem with loading a Jar file in Workbench

I'm trying to load a Jar file in a Workbench project using (after importing "JLink`" in the package declaration): ReinstallJava[ClassPath->"pathToMyJar"]]; In ...
0
votes
0answers
25 views

Boundary Value Problem Errror [on hold]

I have a first order differential equation such as $\quad \quad d/dt (u[x,t]) = - u[x,t]\,u[x,t]$ with the boundary conditions $\quad \quad u[0, t] = 0,\ u[L, t] = 0$ where $x$ is between $0$ and ...
1
vote
1answer
28 views

DSolve for a huge linear inhomogeneous ODE in parallel

I have a linear inhomogeneous ODE with constant coefficients, which I need to solve symbolically. The problem is that the inhomogeneity is sum of more than 100 terms (however, each term itself is ...
2
votes
4answers
104 views

Using Map sequentially

I'm trying to simulate the probability of a balanced hand in Bridge (The Theory of Probability by Santosh S. Venkatesh, 2013) using Mathematica. The problem is solved in the textbook but I just wanted ...
-1
votes
1answer
27 views

How can I plot a graph of an integral?

I want to plot the following function: $$\int \left(\frac{\Gamma (x+1)}{2}-\frac{\Gamma (x-1)}{2}\right) \, dx$$
0
votes
0answers
16 views

What are the possible topics for graduate dissertation using Mathematica? [on hold]

I am a graduate student. I am planning to do one year project work on linear algebra using Mathematica. Until now i have studied transformations,elementary canonical forms ,rational and jordan ...
1
vote
1answer
75 views

What are the terms of the sequence generated by Zeta(3s)/Zeta(s)?

The LiouvilleLambda function has Dirichlet generating function of Zeta[2s]/Zeta[s]. I am curious about an analogous function with Dirichlet generating function of Zeta[3s]/Zeta[s]. Can Mathematica ...
-1
votes
0answers
20 views

Solve inequlities for certain variables. Reduce is not helping [on hold]

Working with few inequalities where two unknowns are there I wanted to find the relation between them. Reduce is unable to give me an answer. What could be done ...
1
vote
1answer
54 views

4th-order Runge-Kutta method to solve a system of coupled ODEs [duplicate]

I am a beginner at Mathematica programming and with the Runge-Kutta method as well. I'm trying to solve a system of coupled ODEs using a 4th-order Runge-Kutta method for my project work. I have ...
0
votes
0answers
33 views

Is it possible to write popular journal in Mathematica?

As you know, Latex is the most popular toolbox in writing the popular journal articles, like PRL or APL. However based on the "style notebook" in Mathematica shows that the layout of Mathematica is ...
1
vote
1answer
44 views

Writing cells from other notebooks into current notebook?

I have a large number of Mathematica notebooks which contain study notes for different topics (as opposed to actual Mathematica Code). I'm trying to develop some code to randomly pull parts of a ...
-3
votes
0answers
23 views

Get function creating variables inside [on hold]

I want to use Mathematica to create this function in pseudocode: ...
0
votes
1answer
62 views

how to download using weather data function many proporties exactly.

how to download using weather data function many proporties exactly. Example WeatherData["WMO44292", "Humidity", "Pressure", "Temperature", \ {{2005, 1, 1, 0, 0}, {2015, 1, 1, 0, 0}}] .
4
votes
1answer
101 views
+50

How do I correctly embed VerificationTests in my packages?

I like to write my tests before I code and write them inline when developing a package, and when loading a package those VerificationTests should run and the load should fail and print a report if ...
5
votes
2answers
109 views

Why can't I change the style of a cell repeatedly?

I ran into this when I was working with an example from the Help Pages of V9. Cells is a new function added in V9. The following appears to work the first time it ...
1
vote
1answer
75 views

Getting a part of a matrix Inverse for later use

I was trying to get an element of a matrix, and use in further computation of my program. Problem was that its not reading the value unless and until I specify it again. My code is: ...
1
vote
1answer
50 views

speeding up creation of SparseArray

I have to create the following sparse arrays, which are reshaped in a two dimensional matrix, so that i can use the build in Dot[] function to do a kind of ...
1
vote
2answers
42 views

NotebookWrite in EvaluationBox forces Input CellStyle

There is a promissing new function EvaluationBox[] and a nice last example in documentation section for it: ...
1
vote
1answer
65 views

How can I simplify a triple integral with exponentials?

I want to simplify the following triple integral with exponential terms. \begin{equation} \int_0^\infty\int_0^\infty \int_0^\infty \frac{1}{R\,G} e^{-p(1+R\,a)-q\, b \frac{1+R\, a}{1+G\, x}}\, ...
0
votes
0answers
24 views

Topics for master's project using Mathematica [on hold]

I wish to do 1 year project in linear algebra using Mathematica. What are linear algebra topics which can be implemented on Mathematica as part of 1 year graduate level dissertation.
1
vote
1answer
71 views

Region bounded by ellipse and line

I have an ellipse defined either as algebraic or geometric: algebraic: ax^2 + bxy +cy^2 + dx +ey +f = 0 geometric: major Axis, minor Axis, x center, y center, rotation angle from horizontal And I ...
0
votes
2answers
63 views

Parametric Plots [continuous and discrete]: --showing parameter increase for multiple values of another parameter

In my problem, I am effectively plotting a parametric function that depends also on an outside parameter, e.g., the real/imaginary parts of ...
0
votes
1answer
160 views

How to export figures with normal spacing in texts?

My OS is Ubuntu 14.04, and I use MMA 10. I export a figure ploted in MMA to a pdf file and then import the pdf in Latex, here is the sreenshot As you can see, the spacing in the text is odd. But ...
0
votes
0answers
22 views

How to use RunProcess to run python interpreter

In a related question How to use RunProcess to import external function? @taliesin provides a very nice answer illustrating using RunProcess to launch a GO http server. Has anyone, or does anyone ...
2
votes
1answer
51 views

How can I get “custom” controls to appear and behave like “default” controls in my Manipulate?

For various reasons I need to define some controls in my Manipulate with complex behaviors that are not (or at least I don't think can be) accomplished using the ...
7
votes
5answers
149 views

Help going from iterative to functional

The following code segment shows what I'd like to do. I'm a procedural programmer trying to learn the Mathematica functional style. Any help on this would be appreciated. ...
7
votes
2answers
142 views

How to track Part of Symbol or How to symbolize Parts of Symbol without copying data

Let's create simple function: SetAttributes[h, HoldFirst]; h[data_] := Dynamic[Grid[data], TrackedSymbols :> {data}] test = RandomReal[1, {2, 2}]; h[test] ...
10
votes
5answers
276 views

Opposite of StringSplit

What is an appropriate command that does the opposite of the following. StringSplit["a b c d e f g"," "]
7
votes
2answers
113 views

Inconsistent behavior of undocumented Encode->Import->StringToStream->Get on password-locked stream

Let's save a definition. Encode it with password/key and Get it again. We will not use Get ...
4
votes
1answer
63 views

Comparing memory consumption of two pieces of code

I have implemented something I want to do in two different ways, because I'm not sure which of the two approaches give best speed/memory efficiency. Comparing the speed of the two approaches is ...
1
vote
2answers
162 views

Perturbation theory with Mathematica: Definite integral of polynomial times exponential times hypergeometric function of imaginary argument

I would like to ask also Mathematica users about my question from the math forum. To expand, I'm adding the code which calculates the full double integral for $n=0$ and $\mu=0$ (the second in the ...
0
votes
2answers
43 views

How to make legends in Graphics?

To make an equilateral hexagon, here is my code in mathematica: ...
0
votes
1answer
526 views

Solve non linear system of equations

I am trying to solve a system of two equations with two unknowns. In these equations I have, a part from constants: Unknown nr 1, $$D_{\perp}$$ Unknown nr 2, $$\omega_C$$ Known function of r: ...
10
votes
3answers
236 views

Windows command line arguments, stdin & stdout

Is it possible to utilize all three: command line arguments, stdin, and stdout all at once in script for Windows? Unix is fairly easy, but I can't get the following to work with Windows. Using the ...
1
vote
0answers
21 views

How would I set the equation number for an EquationNumbered cell?

Regardless of how many EquationNumbered cells are above or below, every new EquationNumbered cell that I add in my notebook shows (1) as the equation number. Is there a way to correct the equation ...
1
vote
1answer
70 views

Can Save[] produce a .nb file instead of a text file?

(I use Mathematica 9.0.1 on OS X 10.10.2.) Suppose I have a notebook in which I make some definitions and assignments. ...
1
vote
0answers
130 views

Mathematica 10.1 availability [on hold]

According to this post and this page of the Wolfram Documentation Center a new Mathematica version is on the way, if not already available to some user. It'll be v. 10.1 and, as such, a rather major ...
0
votes
2answers
30 views

Parallel evaluation hangs before doing anything

[I use Mathematica 9.0.1.0 on OS X Yosemite 10.10.2.] I am experiencing difficulty with parallel evaluation that I am finding extremely perplexing to troubleshoot. I define the following function in ...
4
votes
1answer
175 views

Lagrange Multiplier

We are asked to maximize and minimize $f(x,y)=4xy$, given the constraint $4x^2+y^2=8$, using the Lagrange Multiplier method. First, I enter the functions f and g. ...
1
vote
0answers
28 views

DateObject from AbsoluteTime broken

In the middle of a session (10.0.2 / Win64 / 2.7Gb working set - peak was over 7Gb) the form/definition for DateObject from an integer has disappeared. ...
4
votes
1answer
153 views

How do I prevent Mathematica from reformatting the expressions that I copy as LaTeX?

When I choose something that looks like $$ W_1(1)=\rho ^{5} \omega _1 \rho ^{-5}\\ W_2(2)=\rho ^{23} \omega _2 \rho ^{-23}\\ W_3(3)=\rho ^{10} \omega _3 \rho ^{-10}\\ W_4(4)=\rho ^{9} \omega _4 \rho ...
5
votes
1answer
83 views

Conversion to TeX results in infinite recursion

I'm trying to export to $\TeX$ a Message cell. For example, after evaluating Sin[a,b], ...

15 30 50 per page