1
vote
1answer
482 views

Why can't my new installation of Mathematica 9.0.1 find sysinit.m

I have just installed Mathematica 9.0 in a x64 openSUSE 12.3 machine using sh Mathematica_9.0.1_LINUX.sh as superuser. I have had Mathematica 8.04 working on the ...
5
votes
0answers
979 views

MathKernel.exe capped to use only 13% of CPU?

I am using a Windows machine with 8 cores. No other process than Mathematica 8 is using CPU time right now - still the MathKernel.exe CPU usage does not go beyond 13%. My current computation takes ...
7
votes
3answers
449 views

Combining Image3D and Graphics3D

I want to combine an Image3D and a Graphics3D using Show. Here is the code: ...
3
votes
0answers
384 views

Cannot save file

Hello I have a problem in saving files in Mathematica. I can't save not only notebooks but also figures. When I choose to save the notebook it open a window that says: Mathematica could not find ...
4
votes
5answers
1k views

Get Coordinates in Image Processing

I'm new to Mathematica. I'm very impressed about it's abilities. It's very easy to achieve complex tasks. But I fail the simple ones. How can I get coordinates in image processing? I'd like to ...
9
votes
2answers
656 views

Customize your FrameTicks in a MATLAB way

The figure below is made by MATLAB. However, the scientific form of numbers in FrameTicks that how MATLAB deals with is quite different from that of Mathematica. ...
3
votes
1answer
213 views

How to make the plot from geotiff format

I have a "GeoTIFF" format map, and I have imported it into Mathematica, then I used the Graphics to plot a point on the map. ...
5
votes
1answer
451 views

Montgomery Modular Exponentiation

I'm trying to write a Montgomery exponentiation based on this which can compete with Mathematica PowerMod. We know that PowerMod ...
7
votes
3answers
293 views

Linking points in separate lists in ListPlot (updated)

Updated: I have two lists (of different lengths) of co-ordinates, in the form {x,y,"tag"}, that I wish to plot so that one list is graphically linked to the other ...
2
votes
1answer
343 views

Passing an iterator [duplicate]

The code Table[i, {i, 5}] produces the output {1, 2, 3, 4, 5} whereas the code ...
0
votes
1answer
111 views

Can I force a function to quit and return some value after a certain amount of time has passed during its evaluation?

Imagine I provide some random input to function like FindInstance[], and I observe that, despite the existence of good solutions, the function will, with some ...
2
votes
1answer
187 views

Using NetLink to Import Excel File

I can import an Excel file into Mathematica easily: But when I try from .Net it fails: These are the commands and errors I am getting: ...
1
vote
1answer
330 views

3d plot for function defined for integer values

I would like to make a plot of a function defined just for integer values, like f[n_, m_] := 2 - (1/IntegerPart[n]) - (1/IntegerPart[m]) If I try to plot ...
1
vote
3answers
1k views

How to take conjugate of a function?

Naïvely this is what happens and it obviously is not helpful! ...
1
vote
1answer
1k views

How do I define the domain of a function?

I have a function of two variables, f[x_, y_], and I would like to restrict the domain to values of x and ...
4
votes
1answer
202 views

Manipulate a Plot that contains a variable that contains symbol [duplicate]

This snippet mm = m Manipulate[{mm, Plot[mm x, {x, 0, 1}]}, {m, 0, 1}] (m is not defined anywhere) produces a sadly fixed ...
2
votes
1answer
213 views

How does FindShortestTour work?

How are FindShortestTour and the algorithms therewithin implemented internally? Also: Can I access some form of incremental, in-progress result during evaluation? ...
1
vote
1answer
274 views

Arbitrary depth patterns/rules

Temporary message: I am now really confused. I am not sure how using Power and Unevaluated together works in the examples below. While answering this question, I stumbled upon the following. We ...
1
vote
1answer
58 views

How to change Compiled->False to Method->{Compiled->False} in multiple notebooks?

I have a collection of about 40 notebooks where the options for ParametricPlot and ParametricPlot3D have: Compiled->False and I need to switch any/all ...
1
vote
1answer
194 views

How do I create a graph with randomly directed edges starting from a undirected graph?

I have an undirected graph $G$. How would I randomly assign directions to some fraction $p$ of the edges? How might I do this efficiently / quickly provided I have a large graph structure? For ...
1
vote
1answer
320 views

Solving Intervals

In a recent question I posed, it was noted that by design, Sqrt[ blah] only returns the positive branch, even though we might want to obtain all possible symbolic solutions. So, taking care to avoid ...
6
votes
1answer
151 views

Why is FindInstance failing when I relax a set of constraints?

I'm attempting to use FindInstance to generate coordinate sets for plausible triangles with edge length distance constraints. E.g.: ...
4
votes
1answer
478 views

How to solve this equation with integers as a solution?

I want to solve the equation $$x^y + y = y^x + x$$ with $x$, $y$ are integer numbers. I tried Solve[x^y + y == y^x + x, {x, y}, Integers] How to solve the ...
7
votes
0answers
112 views

Apart may use Padé method: what's that?

How does Apart work? The page tutorial/SomeNotesOnInternalImplementation#7441 says, "Apart ...
1
vote
3answers
508 views

Sqrt — how to get negative branch?

One of the many attractions of Mathematica is that integers are generally treated as exact symbolic entities, and not just as numbers. I was just playing with Sqrt, and was puzzled by what appeared to ...
0
votes
0answers
291 views

DSolve::overdet for system of linear PDEs

I would like to resolve symbolically the following equation: ...
0
votes
2answers
290 views

How to specify VertexCoordinates as geographic coordinates of cities?

I have been very busy these days with giving the VertexCoordinates of the cities the geographic coordinates from ...
5
votes
1answer
443 views

nested use of Apply/Map/MapThread in pure functions

1. My main question I have a function with two argument slots. I wan't to apply this function to 2 lists with different length's. I thought in this solution: ...
1
vote
1answer
144 views

Table/Tree of values

My question: Is there a way to create a tree of values? Something like the output of the command TreeForm, but with values in the nodes? Why do I want this? I'm trying to do a complete program to ...
0
votes
2answers
74 views

Implementation of a condition in a Function

I have defined that stoptime {5, 2, 10, 2, 1, 11, 11, 1, 5, 11} and have the following function pvcosts = (-5/1.05^#) &[stoptime] Now I want that everytime "stoptime" is 11, the function gets ...
2
votes
0answers
65 views

How can I install a new stylesheet in CDF Player?

I've created my own stylesheet and I would like to install it in the CDF 9 directory, so when I apply it to a new Mathematica notebook and save it as CDF file, it will show it correctly. I used this ...
0
votes
2answers
294 views

Problems with NDSolve and stiffness

I am trying to solve an ODE in chemical kinetics: $$\begin{align*} \frac{\mathrm d[x]}{\mathrm dt} &= -k_1 [x][y]\\ \frac{\mathrm d[y]}{\mathrm dt} &= k_1 [x][y] - k_3[y] \end{align*}$$ My ...
0
votes
1answer
126 views

How to import sound file from computer? [duplicate]

I know you can import sounds/images from the Mathematica library, but I was wondering if I could import sounds I have on my computer (i.e. .wav files)? I've tried using the Import functon and properly ...
1
vote
1answer
176 views

Why is a non-convergent series simplified to zero?

Sum[Sin[n*x]*Sin[n] /. x -> 1, {n, 1, Infinity}] == Sum[Sin[n*x]*Sin[n], {n, 1, Infinity}] /. x -> 1 Sum::div: Sum does not converge. >> ...
1
vote
1answer
670 views

NIntegrate fails while Integrate works

I have a function $f(t)$ defined as $f(t)=\int\limits_0^t(t-\xi)^{\alpha-1}\ \cos(\xi)\ d\xi$ where $0<\alpha<1$. I now want to evaluate this integral at various values of time. Therefore, my ...
8
votes
4answers
237 views
3
votes
1answer
136 views

How to get a list of 3-connected graphs?

I'd like to use GraphData to get a list of graphs with vertex connectivity at least 3. I know GraphData["Nonplanar", 6] gives ...
2
votes
1answer
101 views

What is the best way to save a large graph object, allowing it to be reloaded quickly in a new kernel?

I generated a very large graph, too large to simply display and manipulate with copy/paste operations. How can I somehow save the graph to a file to allow it to be rapidly reloaded after I quit out ...
5
votes
5answers
2k views

How to sum over a List

list = {11.5575, 11.397, 5.52734, 4.0878, 2.54815, 1.86652, 2.55028, 2.14952, 1.6242, 1.34117} I have a list of numbers. How do I make a function that creates a ...
0
votes
1answer
318 views

Using undefined function in an expression

I want to use undefined functions in expressions to be simplified. For example. I want mathematica to simplify this input $(f^{\prime\prime}(t),g^{\prime\prime}(t))\cdot (-g^\prime(t),f^\prime(t)) $ ...
5
votes
1answer
158 views

Why do vertex labels disappear when I edit with drawing tools?

I'm trying to change the text and arrow style in GraphPlot using the drawing tool, but the the vertex labels disappear when I do that: ...
2
votes
1answer
142 views

double arrow in GraphPlot

Is it possible to combine two edges into one with a double arrow? For example: ...
1
vote
1answer
859 views

3D plot of two 2D functions

I would like to plot two 2d functions in a 3d coordinate system. Examples are z = x^2 and z = y^2. Each function has one ...
4
votes
2answers
1k views

How to make traditional output for derivatives

Hello again after some pause. i have a problem how to present partial derivatives in traditional form, not as Mathematica gave it to me in its notation. So I want to present this ...
1
vote
1answer
105 views

Contour3Dplot more graphs in one picture [duplicate]

How can I plot two equations in one 3D graph. I have to plot x^2+y^2=1 and x^2+y^2+z^2=2 but I want tu plot only their intersection :( Thank you
5
votes
2answers
317 views

Using RSolve correctly

I am having problems persuading Mathematica to solve even the simplest recurrence relations. As an example, how would you do the following? ...
1
vote
2answers
107 views

How to set the background of a section to light gray?

How to set the background of a section to light gray and leave background of content below and above the section as default?
4
votes
1answer
473 views

Calculating pleasant colors for source code or web-design

I really like when the programs or editors I use have pleasant colors. Sometimes when there's nothing else to do or sometimes when there are very important, but incredibly boring things to do, I find ...
5
votes
0answers
222 views

Can I get access to Amazon's AWS API within Mathematica?

Has anyone tried access Amazon AWS API from Mathematica, I'm assuming the HTTP WebService module of Mathematica would be a starting point. Any suggestions on getting started would be welcome.
5
votes
0answers
153 views

Quantity and Trig functions

I have a bunch of data to which I've assigned units using Quantity, including some angular measurements in degrees. I'd like to be able to use these measurements ...

15 30 50 per page