Version-specific issues for Mathematica 9

learn more… | top users | synonyms

0
votes
0answers
27 views

FoldList[Union,…] version 8 vs version 9 [duplicate]

I have a list of matrices something like shown below A = {{{1,1,1,1,1},{2,2,2,2,2}},{{3,3,3,3,3},{4,4,4,4,4},{5,5,5,5,5}}} When I try to run the code ...
3
votes
2answers
124 views

Format google places JSON output

I'm have some trouble formatting the Output of a 'Import' request. I get this as a return of a google places API request: ...
3
votes
0answers
100 views

Graphics different between Mathematica 10.1 vs 9.0.1

When I create the following plot Graphics3D[{ Red, Arrowheads[0.05], Arrow[Tube[{{0, 0, 0}, {0, 0, 10}}, 0.2]] }] It looks like this in Mathematica 9 ...
4
votes
2answers
105 views
1
vote
1answer
127 views

Integrate and NIntegrate yield different results for double integral

Evaluating a double integral with bivariate normal distribution yileds widely different results depending on the method used. I define a bivariate normal distribution with ${10, 3}$ and ${8, 1.5}$ as ...
21
votes
1answer
800 views

Bug in Solve (Mathematica 9)

The issue seems to be fixed as of Version 10.1. Just came across the strangest bug under both Mathematica 9.0.0 and 9.0.1. If one enters: ...
7
votes
1answer
140 views

Compiled function crashes kernel when trying to list over different length arguments

I'm trying to speed up a tally/binning operation that I have to run many times. I have many lists of between 1 and 10 numbers from the range [1,5] and I want to ...
0
votes
1answer
94 views

Arbitrary hollow cylinders in mathematica 9

I'm having trouble displaying a hollow cylinder in Mathematica 9. A hollow cylinder looks like this: I tried to use RevolutionPlot3D with a step function. It ...
22
votes
0answers
427 views

What is the status of `::usage` and Templates in Mathematica v10.1?

In Mathematica 9, a number of issues concerning the ::usage and templates were raised. In 9.0, there was a bug first reported here and better diagnosed here, where ...
4
votes
1answer
75 views
6
votes
2answers
398 views

Don't understand why Mathematica is complaining about my Graph expression; how can I fix it?

The Tube in Arrow problem is fixed in version 10. Note that in version 10 Graph3D must be ...
1
vote
1answer
118 views

How to modify a PDE inside NDSolve according to an if condition

I need to solve this PDE $$\partial_tf(t,x)+\partial_xf(t,x)+k\partial_{xx}f(t,x)-xf(t,x)=0 $$ with $k\in\mathbb{R}$ and final condition $f(T,x)=1$ with $0<t<T$. My problem is how to solve ...
1
vote
0answers
53 views

Mysterious message posted when I move the cursor in a custom function

I wrote a function called CPlot for complex plotting which is supposed to act a lot like Plot in its input format, but ever ...
2
votes
0answers
145 views

Can I use Mathematica 9.0 to open an MX file produced by Mathematica 10?

I have used Mathematica 10 installed on a workstation of university's lab to run a NDSlove code that produced a .mx file. Then I copy the ...
8
votes
0answers
183 views

Interpolation on an unstructured (mostly-structured) grid in 4D+

I frequently need to perform interpolations on an unstructured grid. Mostly, with the purpose of filling grid holes and then later continue with regular grid interpolations. Mathematica V9 and V10 ...
3
votes
1answer
115 views

OutputResponse in V9 vs V10

I have same code that works in version 9.0.1, but not in version 10.0.1.0 (according to @Sektor, it works in 10.0.0.0, too). ...
4
votes
0answers
89 views

Packages for Semidefinite programming

This question has already been asked here. I am not sure, whether I should have asked this question as a comment of an old question or in the general programming forum of stackexchange. Moderators ...
56
votes
1answer
1k views

Is it possible to customize the Suggestions Bar?

I'd like to be able to customize the Suggestions Bar in v9.0 to provide recommendations of my own. Possible example: when doing unit calculations, I'd like it to suggest converting the answer to ...
1
vote
1answer
105 views

Efficient method of raising matrix to a variable power?

I have a $2 \times 2$ matrix $A$, where each element is a 12th order polynomial in a parameter $a$. I need to raise this matrix $A$ to the $-t/T$ power, where $T$ is a known scalar (for this ...
4
votes
1answer
125 views

A problem about CompilationTarget -> “C” [duplicate]

In my Windows 7 system, I installed two Mathematica versions (V8 and V9) In V8 Compile[ {{x}}, x^2 + Sin[x^2], CompilationTarget -> "C"] ...
11
votes
0answers
156 views

CDF Player - MMA9 - MMA10 oddities

I'm (slowly) building a WordPress site with some didactic simulation made with Mathematica. Users can run the simulations (on-line or off-line) with the free Wolfram CDF Player. One of the last ...
18
votes
1answer
203 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 ...
20
votes
3answers
375 views

Negative probability?

Bug introduced in 9.0.1 and fixed in 10.0.2 I am trying to get the sum of the squares of seven random variables, all uniformly distributed. This is what I tried. ...
2
votes
1answer
41 views

VertexConnectivity and FindVertexCut disagree [duplicate]

I'm trying to use Mathematica to compute the minimal vertex cut for graphs. From what I understood, VertexConnectivity of a graph should correspond to the number of vertices in the minimal vertex cut. ...
5
votes
2answers
250 views

Is there something wrong with VertexConnectivity

Note: this is fixed in version 10. As I noticed in the documentation VertexConnectivity is defined as the following The vertex connectivity of a graph $g$ is ...
4
votes
0answers
54 views

How to replicate v9's color conversion to LAB under v10

Mathematica 10(.0.0) appears to use a different flavor of the LAB color space, but I would like to emulate the same behavior observed in version 9(.0.0). v9 ...
1
vote
1answer
100 views

CoordinateTransformData (cartesian to spherical)

I am using Mathematica v9.0.1.0 and wanted to compare Mathematica's CoordinateTransformData command to Matlab's cart2sph. (Note ...
1
vote
1answer
114 views

handling division by zeros and line equations

today I was writing a code which takes some line equation and a circle equation,finds intersection points that are on $II$ and $III$ quadrants,draw a tangent line to circle from that point and then ...
1
vote
1answer
35 views

problem on returning value of function as a list using if

today i was writing a function for my project using mathematica that gives a line equation in form of $y=mx+b$ and a circle equation in form of $x^2+y^2=r^2$ and finds the intersection point which is ...
4
votes
0answers
214 views

Font difference in mathematica 9 and 10 after export to illustrator

It seems WRI has changed the way fonts are dealt with in Mathematica 9 and 10. The following command Export["test.eps", "This is a nice formula"] yields this ...
9
votes
2answers
481 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 ...
18
votes
1answer
314 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
77 views

Discontinuous Forcing for a Cancer Model — Issues with v9 NDSolve

I'm new here, so please be gentle with me and hopefully the post is appropriate and not too basic. I am a math teacher and use modeling in my courses. I had working code (in v8 of Mathematica) for a ...
3
votes
1answer
339 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 ...
5
votes
1answer
213 views

How to force mathematica v.9 and 10 notebooks to open in their respective front end

I have version 9 and 10 installed on Windows 7. if I double click to open version 9 notebook, then it opens in version 10, how I can force a notebook to open in its respective front end. I have ...
11
votes
1answer
550 views

Are there tools for getting Mathematica 9 Notebooks working in Mathematica 10?

As often happens with Mathematica updates, nearly all of my notebooks no longer work as they did with the previous version. The upgrade from 9 to 10 has changed the appearance or introduced errors ...
10
votes
1answer
191 views

Sporadic bugs in multidimensional SparseArray objects

Udate This SparseArray[] bug is (apparently) fixed on version 10.0 ...
7
votes
2answers
330 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: ...
12
votes
1answer
289 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. ...
3
votes
0answers
67 views

BoxWhiskerChart with logarithmic axes 2

I actually already found my answer on the question, however it is not working. see BoxWhiskerChart with logarithmic axes I want to create a boxwiskerchart with a logaritmic axes. But when I try ...
8
votes
2answers
537 views

Where is the “Function Navigator” and “Virtual Book” gone?

Under V9 "Help" was a Item each for "Function Navigator" and "Virtual Book" to find and one could work with it. Under V10 these Helpers are gone. Although under Documentation/English/System the ...
3
votes
0answers
103 views

Software for effectively modeling gears

Are then any applications for effectively modeling gears in mathematica?
15
votes
2answers
292 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 ...
20
votes
4answers
3k views

Graphics exported from Mathematica 9 are very large because even standard fonts are embedded

Note: Fixed in version 10. See Verbeia's answer. I've upgraded from Mathematica 8 to 9 (which apparently leaves the old version installed and usable which I didn't expect). I see a significant ...
13
votes
2answers
553 views

How can I get LineLegend to pick up my plot's BaseStyle?

The new legends functionality in version 9 really simplifies creating legends, and it automatically picks up the styles of the lines. ...
19
votes
1answer
934 views

Web Browser Screen Shot

I have Safari, Opera, Chrome, Firefox and IE installed how might a get a browser screen shot of a set of HTML code from inside Mathematica(for any of those browsers)? (Image is optional) The ...
3
votes
2answers
176 views

How to put the legends above the figure and make them vertical? [closed]

The following way will put the legends on the right of the figure, and the three legends are vertically aligned. ...
21
votes
2answers
496 views

Graphics elements do not line up perfectly in exported PDFs

Graphics elements do not always line up perfectly in exported PDFs using "Save As..." method. Take, for example: ...
42
votes
1answer
1k 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 ...