Tagged Questions

Version-specific issues for Mathematica 9

learn more… | top users | synonyms

0
votes
0answers
289 views

Error when trying to run Mathematica 9 on Ubuntu 12.04 from the command line

When I type : mathematica or math on terminal, generates following error: ...
0
votes
1answer
226 views

updating code from 5.0 to 9.0

I am updating a code from a 5.0 version to a 9.0 version. I am speaking about "Advanced visual quantum mechanics". There is a package with this code: ` ...
2
votes
1answer
121 views

What is going wrong when I save an animation as a SWF-file?

The first I am trying to export animations from Mathematica to a file and then to LaTeX. Don't assume I know anything about what I'm doing. The following definitions defines the still image of a ...
2
votes
2answers
142 views

Long run time for older code that ran fast in older versions

The following code block is in Trott's Guidebook for Programming. The associated notebook says that this and a few other routines ran in a matter of seconds. I killed it after half an hour. I am ...
0
votes
1answer
146 views

Old notebook (Version 3) not opening in version 9

I have some old notebook files in version 3 format from the book "Mathematica for Physicists". These files are blank except for the chapter header when opened in Mathematica 9. I have similar ...
18
votes
1answer
290 views

Kernel inexplicably hangs if I define a pure function without suppressing output

Save any unsaved work before trying as it may crash Mathematica and other programs by filling up the memory! In v9.0.1.0 on OSX 10.8.5, if I start a new session and define two functions ...
0
votes
0answers
174 views

Mathematica Version 9.0.1 EPS Format Improvements

Is it just me or has the ability to make high quality EPS graphics increased greatly in version 9.0.1 compared to 9.0.0? I've always found it difficult to get plots that I make in Mathematica to print ...
12
votes
3answers
195 views

Wrong numerical value while exporting to a JSON string

The following code: ExportString[{"a" -> 2000000., "b" -> 0.000001}, "JSON"] Gives the results ...
1
vote
0answers
82 views

NMinimize memory consumption problem in Mathematica 9 vs. 7 & 8

I am having trouble using NMinimize in Mathematica 9 - Memory consumption overflows. The same NMinimize command, with the same ...
9
votes
2answers
360 views

In version 9 PlotLegends, how can I remove the strange edges that appear around LegendMarkers?

I'm running Mathematica version 9. I am using ListPlot to plot two sets of data. For each data set, I am using different ...
0
votes
0answers
146 views
2
votes
0answers
78 views

TableHeading Lines Do Not Show Up

For a list list = {{"a", "b", "c"}, {"d", "e"}}; Table heading lines do not show up ...
3
votes
1answer
162 views

FullSimplify yielding different results in mathematica 8 and 9

I have been experiencing some problems running a certain mathematica file in version 9. I've tracked the problem to a particular sum that I perform. Running the same code in version 8 and 9 I get two ...
10
votes
3answers
489 views

How to use legends from PlotLegends in LevelScheme?

I've been attempting to find efficient ways to generate graphics with legends for export, and have been working with both LevelScheme and the new (to v9) ...
6
votes
1answer
76 views

Setting PropertyValue for VertexWeight is not persistent

g = CompleteGraph[8, VertexSize -> Medium]; PropertyValue[{g, VertexList[g][[1]]}, VertexWeight] = 10; PropertyValue[g, VertexWeight] ...
9
votes
1answer
259 views

Deconvolution of Image3D object using ImageDeconvolve

I am trying to get the ImageDeconvolve function to work with Image3D objects. In the documentation of ImageDeconvolve it says: ...
0
votes
1answer
258 views

ListPlot with PlotRange -> Automatic giving unexpected results in V.9

There seem to be a problem with ListPlot auto ranging in Mathematica 9. Here's my code: ...
1
vote
1answer
123 views

ParametricNDSolve: Fails to differentiate an matrix differential equation

It seems like there is a problem with differentiating a ParametricNDSolve object when the underlying system contains an matrix differential equation. Create a simple ParametricNDSolveValue object ...
9
votes
1answer
249 views

Possible bug with second argument of Dynamic

According to the documentation, Dynamic Details & Options section, especially: For interactive mouse operations Dynamic[expr,{f_start, f, f_end}] typically ...
3
votes
1answer
280 views

Transform recursion for coefficients into differential equation for generating function

Assume, one is given a linear recursion with polynomial coefficients for a sequence $(a_i)_i$, such as a[i] == i a[i-1] I would like to convert this recursion ...
0
votes
3answers
200 views

Given a Boolean representation of a system, how can the Reliability Function be displayed as symbolic algebra?

Can Mathematica 9 convert a Boolean representation of an RBD to its symbolic algebraic form? If I have a simple series Reliability Block Diagram made up of 2 components, c1 and c2 bexpr1=And[c1,c2] ...
40
votes
1answer
887 views

How can I manipulate TemporalData?

Version 9 introduced TemporalData but, truth be told, the documentation doesn't suggest that one can do much with it. Many of us have probably assumed we'd be ...
9
votes
1answer
272 views

Mathematica9: NDSolve slows down after repeated calls

I have noted that in Mathematica 9 my code, which involves a lot of calls to NDSolve, slows down considerably after some time. Apparently, the problem is NDSolve itself and it seems to be related to ...
16
votes
0answers
157 views

How to format usage messages such that function templates are parsed correctly?

Is it possible to format usage messages (with italic arguments etc) such that Mathematica 9 still parses function templates correctly? For example, plain usage messages work when pressing ...
3
votes
0answers
229 views

Weird behaviour from ListSurfacePlot3D

Looking at Documentation for ListSurfacePlot3D, I follow the basic example presented there. ...
3
votes
1answer
76 views

Want actual cell data from CellEvaluationFunction

Let's say I print a cell like so. CellPrint@Cell[ BoxData[" "], "Input", Evaluatable -> True, CellEvaluationFunction -> Function[Print[#];] ] Now I ...
5
votes
1answer
202 views

Why doesn't FrameTicks work with Histogram?

An example: Histogram[RandomVariate[NormalDistribution[], 1000], PlotRangePadding -> 0, Frame -> True, FrameTicks -> {{{0, 0}}, {}}] I expected this ...
2
votes
2answers
376 views

Matrices and polynomials: MMA 8 vs. 9?

I want a function to take a polynomial from a list, plug a certain matrix T into that polynomial, and return the answer as another matrix. My program uses the applyPoly function suggested by a user in ...
1
vote
1answer
877 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 ...
3
votes
1answer
128 views

HTML documentation build issue with Wolfram Workbench 2 and MMA 9

Using the Wolfram Workbench 2 (and Mathematica 9) to build HTML documentation for a package I am developing, I am ending up with HTML pages that contain a lot of text elements that look like this: ...
5
votes
0answers
155 views

Exporting large numbers in WDX format

I have a list of 10 000 3×3 matrices in Mathematica. The entries are rational numbers. I would like to write this to a file so I can load it again in the future. After some fussing with file formats, ...
8
votes
1answer
275 views

Mathematica8 can compile this function but Mathematica 9 can't if I set CompilationTarget -> “C”

Following code worked on Mathematica 8, but in Mathematica 9 it can't be compiled, it return this message CompiledFunction::cflist: Nontensor object generated; proceeding with uncompiled ...
1
vote
1answer
393 views

Solving differential equations with constraints

The problem is $$ x''(t)=F(t) - kx'(t) \\ x'(0)=x(0)=0$$ with the additional constraints $$ 0 < x(t) <a \\ 0 < x'(t) <b $$ where $F(t)$ is a known function and $a,b,k$ are given. At the ...
3
votes
1answer
546 views

Evaluating double Integral

While trying to evaluate the integral $\int_{y=0}^{x_2}\int_{x=0}^{min(x_1,y)} n (n - 1) (1 - y)^{(n - 2)}dxdy $ , Mathematica does not seem to yield any results. ...
1
vote
0answers
170 views

How can I convert a plot to pdf or eps without errors?

Mathematica 9.0.1, Linux. I try to save a plot as a pdf. I tried four different options. In each case some errors appeared as blank space ( http://yadi.sk/d/h1koyDci4z3rc ). I also tried to save ...
3
votes
1answer
178 views

Cannot solve system of linear equation sums?

I cannot get mathematica to solve: The problematic code: ...
2
votes
0answers
284 views

Why my Mathematica 9.0.1 wont work with some samples of Mathematica in Graph Theory?

I updated my Mathematica recently to 9.0.1 cause the previous version was giving me freaky result especially in FindMinimumCostFlow and ...
31
votes
2answers
972 views

Variable naming changes everything

I am having a rather unusual problem I do not understand with Mathematica where renaming one of the variables of my function causes the function to stop "working". Here is the example of the code ...
2
votes
1answer
479 views

Getting MemoryAllocationFailure from NIntegrate

When numerically calculating a double integral using NIntegrate over an infinite domain (with all options at their default), Mathematica 7 calculates my integral ...
1
vote
2answers
465 views

Reversing the ColorScheme used in an ArrayPlot and setting the font size in the color bar

I have a matrix of data that I am plotting via ArrayPlot. ...
15
votes
2answers
240 views

What are Root objects with multiple polynomials?

In Mathematica 9 a new flavor of Root object with multiple polynomials was introduced. For example, ...
2
votes
2answers
240 views

Why do Plot and ListPlot use the last PlotStyle when only one thing is plotted?

When a list of PlotStyles is given, ListPlot behaves as expected when there are multiple things to plot: ...
9
votes
1answer
128 views

Is it possible to make v9 ignore case when completing names?

In v8, I could type, say, fulls or texf to get FullSimplify or ...
5
votes
1answer
130 views
11
votes
1answer
173 views

Predictive code completion and custom functions in contexts

Suppose I work for organisation PQR, and have been developing a suite of packages, PQRUtilities, PQRVisualization etc, all of ...
7
votes
2answers
300 views

Problem with NIntegrate when WorkingPrecision is specified

I am trying to evaluate this integral numerically: $$ \int_0^{\infty } m \exp (-m) J_1(m){}^2 \, dm $$ Everything is OK when only the integration method is specified: ...
5
votes
4answers
191 views

FrameLabel not printing completely

Running this code: ...
15
votes
2answers
267 views

Upon PDF export, edgeless rectangles do not tile perfectly, and corners may be cut. Is this a bug?

Note: this problem is no longer present in version 10. Exporting the following as a PDF file ...
1
vote
0answers
110 views

TableForm behavior change

In an older version NoteBook, I was able to specify some options for TableForm, which enabled the printing of an expression in a simple fashion: ...
12
votes
1answer
243 views

ToNumberField won't recognize Root as an explicit algebraic number

In Mathematica 9.0.1, it appears that ToNumberField will not always recognize a Root object as an explicit algebraic number. ...