1
vote
0answers
25 views

Mathematica 10.1, soon?

According to this post and this page of the Wolfram Documentation Center a new Mathematica version is on the way. It'll be v. 10.1 and, as such, a rather major upgrade after Mathematica 10.0.1 and ...
0
votes
0answers
10 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. ...
2
votes
1answer
17 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. ...
0
votes
0answers
6 views

NDsolve with periodic event not evaluating as expected

I have a differential equation in which I would like to apply a periodic dilution happening say every 24 hours. This is a simple example, and this one works as expected: ...
1
vote
0answers
11 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 ...
0
votes
0answers
12 views

Boundary Value Problem Errror

I have a first order differential equation such as d/dt (u[x,t]) = - u[x,t]*u[x,t] and the boundary conditions are ...
1
vote
0answers
8 views

Speeding Up the Numerical Integration of a Product of Numerical Integrands with NIntegrate

I need to solve a set of coupled integral equations within a self-consistent cycle. The final result will be functions, say $A(x)$ and $B(x)$, which are related to each other by some integrals which ...
0
votes
0answers
35 views

How to enlarge the plot without the legend (or label)?

I have 3 plot with legend on top. However when I array them in one row, plot is small. Then I tried to enlarge the output graphics, every graphic cannot enlarge except the gap. How to solve this? This ...
1
vote
1answer
30 views

Integrated Solution Graphics

I want to draw this nonlinear differantial equation' graphic with other solving equation (in same graphic). ...
3
votes
0answers
16 views

Solving a PDE with a spatially piecewise-constant material parameter

I would like to solve equation for the 2D distribution of an electrical potential in the conductive medium: div(sigma*grad(f))==0 where f=f(x,y) is the electric ...
0
votes
0answers
44 views

Is there a way to create a two column page layout in a notebook?

I am working on a white-paper that requires a two column format. Is there an existing Stylesheet that can be used or a way to create a Stylesheet that supports this Mathematica?
1
vote
2answers
53 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
vote
1answer
61 views

How do I smooth or remove jitter from an exported Graphics3D plot?

I have exported a Graphics3D plot as gif. But the plot shows jitter (You can see the yellow ball shows somewhat slight move around, which is expected to be still). How does this happen and how to get ...
0
votes
1answer
48 views

DensityPlot and KroneckerDelta

I have the following DensityPlot: DensityPlot[Sin[x] Sin[y], {x, -Pi/4, Pi/4}, {y, -Pi/4, Pi/4}, ColorFunction -> "SunsetColors", PlotLegends -> Automatic] ...
2
votes
0answers
32 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 ...
0
votes
3answers
53 views

Filtering the output from Table and export it into excel

I have the following functions ...
0
votes
0answers
32 views

Call functions from a notebook inside C#

Is there a way to use functions from a notebook in C# with NETLink ? I found only this: Evaluate Notebook from .Net, but it is not of much help. Any suggestions ?
0
votes
1answer
19 views

How can i specify a NotebookSelection by a given CellObject?

My Questing is very simple. If I have a CellObject e.g. CellObject[Text], I can move the selection to this ...
0
votes
0answers
34 views

Problem in deriving general equation [on hold]

I have a problem to derive a general equation in Mathematica. The code below supposedly computes the intersection area What modifications should I make to the code to derive the area in terms of ...
5
votes
1answer
38 views

DatePlus and DayPlus perform much worse than my user-defined-function

I was debugging a function speed, and discovered that the time bottleneck was in DatePlus. I tried to change to DayPlus and get ...
2
votes
1answer
28 views

Ordered associations

Mathematica 10 has introduced Associations, elsewhere known as hash tables or dictionaries. Is there Ordered equivalent like in Python, Java, .NET? The data structure should remember the order in ...
2
votes
5answers
188 views

How do I write a condition for Position that uses both the current and previous element?

For example, given {57, 3, 40, 94, 9, 84, 81, 93, 76, 5, 7, 76, 38, 9, 23, 95, 49, 0, 30, 3} I'd like to get all the indices at which the elements cross from ...
0
votes
0answers
25 views
0
votes
2answers
28 views

Defining the domain of positive real numbers

I am trying to solve an equation by assuming that all the variables are real and strictly positive. I can use the keyword Reals for the argument ...
6
votes
3answers
299 views

Turning a set of random walk data 45 degrees

I have a set of data that is just a "random" (generated by me, not by computer) sequence of length 2000 of 1's and (-1)'s. I used it to plot a 1-D random walk where +1 is step up, (-1) is step down, ...
0
votes
1answer
34 views

Plot 3D with conditions and variables dependent on each other

I m trying to do something like this: ...
0
votes
1answer
33 views

FindRoot, Loops and multivariate nonlinear system

I posted a question yesterday asking how I could get all the solutions to my system of 4 nonlinear equations with 4 unknowns. I gave up on this since it seems ...
0
votes
0answers
40 views

If the earth's rotational speed increased by 2% each day starting today…what would be the difference in age 20 years from now? [on hold]

If the new adjusted revolution of the earth still equaled one day and 365 days still equaled one year, how old would someone be 20 years from now (20 years based on the current rotation of the earth) ...
1
vote
0answers
20 views

How to debug an existing notebook in Workbench

I have an existing notebook that I want to debug in workbench. This notebook is a self contained program that does not use any .m files. From what I can tell from the Workbench documentation you ...
0
votes
0answers
19 views

How to identify primary keys in an existing database table

I would like to identify the primary keys in a DB table using DatabaseLink commands trying to exclude SQLExecute. It seems like SQLTableInformation or SQLColumnInformation may not show that ...
2
votes
2answers
45 views

Memory Problem with Modules and NDSolve

I'm using NDSolve inside a module, and I appear to have a memory leak. The relevant code is: ...
0
votes
0answers
25 views

about Updating Wagon's FindAllCrossings2D[] function [on hold]

I am working with the shortest version of FindCrossings2D, which was provided by Vitaliy Kaurov. Here is Vitaliy's function: ...
-1
votes
0answers
35 views

Finding R^2 and R^3 of relations [on hold]

Let R be the relation on the set { 1 , 2 , 3 , 4 , 5 } containing the ordered pairs (1 , 1) , (1 , 2) , (1 , 3) , (2 , 3) , (2 , 4) , (3 , 1) , (3 , 4) , (3 , 5) , (4 , 2) , (4 , 5) , (5 , 1) , (5 , ...
0
votes
1answer
25 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
4answers
110 views

Get Axes Range of Plot?

Say I have some plot plot = Plot[Sin[x], {x,0,10}] (*as an example*) Is there a way I can get the x and y axes min/max values from the "plot" variable? If I ...
0
votes
1answer
87 views

Simplified expression is different than original

I have a question regarding the Simplify command in mathematica. I am working with a 4 x 4 table called Eqs, filled with symbolic expressions. I then do ...
6
votes
1answer
82 views

Mathematica on Raspberry Pi

Can I develop BSD/MIT open-source library for Mathematica using free non-commercial version on Raspberry Pi? To state it differently: does the non-commercial limitation of Mathematica on RPi limit ...
3
votes
1answer
44 views

How to change line lengths in LineLegend

How can I shorten the lengths of the LineLegend[] lines in the following plot? Is there a way to control line spacing as well? ...
0
votes
0answers
21 views

FindMaximum slow for fixed parameters

I hope my problem can be solved by just showing you this tiny part of my code which does not run on its own. I have an optimization problem and want these functions to work on various data sets. ...
1
vote
1answer
16 views

SetterBar Display using MatrixForm

I have vAwGOptns = { {{0}, {0}}, {{1}, {0}}, {{0}, {1}}, {{1}, {1}} }; and would like to select ...
0
votes
0answers
25 views

How to investigate the seasonality of the data

After asking how to get rid of the seasonality of this set of data, I'd like to close the circle with a last question: How to detect seasonality in data using Mathematica? A generic answer (not ...
1
vote
0answers
47 views

Better layout for large a directed graph?

This shows a directed graph for an iterated n-bit pseudo-random function parameterized by s. ...
0
votes
1answer
30 views

Making a black bar in BarChart when using GlassRectangle

I use the command: ...
1
vote
2answers
187 views

3D Gamma function

I try to plot the following function: Plot3D[Gamma[1+0.5*(n+m)]/Sqrt[Gamma[1+n]*Gamma[1+m]],{n,0,1000},{m,0,1000}] I expect that for m=n and near to it the value ...
0
votes
1answer
70 views

Floating point arithmetic bug caused by Table[]

I was doing something fairly ordinary and noticed something I can't, for the life of me, explain. For context, I wanted to take make a function that takes an array of data like the one below, then an ...
1
vote
0answers
19 views

OpenSQLConnection SSPI Library Not Loaded

I am attempting to open a connection to SQL Server with Windows Authentication (SSPI) using OpenSQLConnection and JDBC. ...
0
votes
4answers
74 views

Find all disjoint subsets of equal length

Suppose that $A$ is a list with $n$ elements where $n$ is even. I want to write a function that returns all pairs $(A_1,A_2)$ where the sets $A_1$ and $A_2$ each have length $\frac{n}{2}$, $A_1 \cap ...
0
votes
0answers
25 views

3D scatter plot with specific collor for each dot [duplicate]

I'm a chemist and using cartesian coordinates I've created a 3D scatter plot of my molecule: There is one attribute that I want to show and it is a value that range from -6 to 6, lets say. I'd like ...
2
votes
1answer
219 views

Another square-root simplification problem

In a certain sequence of computations, sometimes I'll get an expression of a form such as Sqrt[u^4 + 4 u^6] which it is necessary to have converted ...
0
votes
3answers
54 views

How to iterate through a list of rules?

Let's consider I have a list of rules: {Aa -> 1/2, Av -> 2/5, Bx -> 3/7, Ce -> 4/9, ...} I want to find all keys that contain the letter "A" and ...

15 30 50 per page