# All Questions

164 views

### Subscript and Part: What's going on in this example?

Example I came across the following simple example from A Beginner's Guide to Mathematica, by McMahon and Topa, which I believe was written circa version 5.2. (FWIW, I'm using v9.) ...
2k views

### Remove annoying Conjugate

Here is an expression ...
69 views

### Extracting box coordinates [duplicate]

Possible Duplicate: Dimensions of the results of Text[] within Graphics[] In writing the following code, I had to figure out what values to give d by trial and error. Is there a way to ...
457 views

### How can I express an algebraic expression as a product?

I have a simply expression that I can see that I can express as a product. ...
204 views

### Symbolic calculation

Is there any software where this kind of symbolic calculation is possible? s = 0 for i = 1 to m j = 2 i + a - t if (j > 0) s = s + a I want s as a ...
235 views

### Evaluating a function on permutations of its arguments

Say I have a function "temp" of $n+1$ variables, $y,z1,z2,z3,...,zn$. I want to test if my function has certain symmetries like swapping $y$ with square of any $z$, swapping any two of the zs, ...
1k views

### Push-pin Art – Convert image to R-Y-B-W-Blk color space

After seeing an example of what is called “Push-pin Art”, I assumed that Mathematica would be able to handle the kind of image processing required to convert an image to this format. I am not well ...
159 views

### Write-protect documentation for self-written Add-on package

My package works fine so far, and now I want to add some documentation. I have put a file in ...
591 views

### Force Plot Area size to be equal excluding axes

I have two plots, both with the exact same formatting (frame, text style, etc.). One of them has 2-digit values for the y axes, the other has scientific notation because the value are large. In ...
254 views

### Bar chart labels disappear when PlotRange is used

I have used Placed[Before] to place labels on the labels before the bars, but when I specify a plot range, the labels disappear. I need a solution wherein I can use ...
2k views

### Is there a Mathematica equivalent to MATLAB's logspace? [duplicate]

Possible Duplicate: How can I get exactly 5 logarithmic divisions of an interval? I want to use Table to generate a list of items, but want the indices ...
329 views

### Lists of coefficients of derivatives

I want to extract two separate lists of coefficients of derivatives. If I have, for example, ...
139 views

I was using Needs["PlotLegends"] By chance I removed ShowLegend by Remove[ShowLegend] How do ...
247 views

### How do I simplify an embedded sub-expression without affecting other sub-expressions?

I have an expression which is very large and which has several sub-expressions with head Conjugate. What I want to do is simplify the ...
209 views

### How to solve this trigonometric system of equations numerically?

How can the following trigonometric system of equations be solved numerically? ...
188 views

### Syntax colouring when using Symbolize

I need to use symbols with suffixes in order to make my code readable in relation to the Eurocodes. To do this I use Symbolize from the ...
214 views

### Solve not satisfying simple boundary conditions

I am trying to solve the following equations for the coefficients c1 and c2. ...
394 views

### Possible bug in v9.0 Rest[] function

Just to be clear, this all works perfectly in v8.0.4.0. It only fails me in v9.0. I use 64-bit Linux, 64-bit versions of Mathematica, and I have 16GB of RAM. I have a data file formatted as ...
246 views

### Export Voronoi Data?

I have a Voronoi Diagram (VoronoiDiagram/DiagramPlot) in Mathematica - and I need to export it to something I can import into ArcGIS. I'll settle for any sort of data/vector-based (non-raster) ...
260 views

### Sorting function for non commuting bosons

I am trying to write a sorting function which will sort expressions involving products of bosonic objects which do not commute. For example, I can have objects like $a,\ a^\dagger,\ b,\ b^\dagger$ ...
920 views

### Obtaining the Fourier transform of an operator

We know that if we have a function $f(x)$, and we call $g(\omega)$ its Fourier transform, then the Fourier transform of $x f(x)$ is $$\imath \frac{\mathrm{d} g(\omega))}{\mathrm{d}\omega}$$ and ...
232 views

### Why does a variable become real when using the second argument of Dynamic?

Version 9, on Windows 7. Please compare these 2 very simple examples Manipulate[ x, Row[{Manipulator[Dynamic[x], {0, 10, 1/100}]}], {{x, 1}, None} ] and ...
409 views

### RowReduce: Solving for the resource vector (a, b, c) in Augmented Matrix

Here are two examples: RowReduce[{{3, 1, a}, {2, 1, b}}] evaluates to {{1, 0, a - b}, {0, 1, -2 a + 3 b}} but ...
102 views

### Know the degree of the equation with the radicals expanded

I have an equation with radicals. I would like to know what would be the degree of the polynomials if I'd move the terms and square the equation a number of times sufficient to remove all the ...
3k views

### Why are PlotLegends not combined with Plots?

I'm using PlotLegends in v9. It seems that in the documentation examples, plots and legends are combined into one graphic: Here's an example from ...
92 views

### octopress plugin for CDF reader?

I am looking for a way to embed CDFs in octopress blogs. Looks like there are a lot of moving parts such as Jekyll, Liquid, and Pygments. I'd be grateful for a native trailguide through the jungle.
1k views

### Linear equation with complex numbers

I have to solve an equation of the type $$a z+b \overline{z}=c$$ with $a,b,c\in\mathbb{C}$. My approach is to set $F(z)=a z+b \overline{z}-c$ transform $z$ to $x+i y$ and then get a real linear ...
212 views

1k views

### How to create functions of arbitrary number of variables? [duplicate]

In the following code what would be the simplest way to generalize it to say some $N_f$ number of $z$ instead of just $z_1$ and $z_2$? ...
343 views

### Using external variable as a variable inside WhenEvent & NDSolve

I'm trying to use the new WhenEvent functionality of NDSolve in Mathematica 9, in order to perform an action when a variable in the system reaches a certain value. I would like this variable to come ...
376 views

### Revolution plot with 2 variable

I'm having trouble with RevolutionPlot3D with two variables. I have this parabola ...
110 views

In a FrameLabel for Manipulate, I would like part of the string to be a hyperlink. Is this possible? I have tried various things ...
672 views

### How to set path of IMPORT from excel into Mathematica?

I was able to IMPORT from excel data at the start of my project when both the .nb and EXCEL XLS files were sitting in MyDocument (or some other location), but upon moving both files into my Dropbox ...
131 views

### Solve 1-D function that has 2-D interpolating functions

I need some helps on NDSolve. Here are my equations: ...
318 views

### Plotting Chebyshev's theta function $\vartheta(x)$

The function I would like to plot is defined as $\sum\limits_{p\leq x}\log p.$ The following gives me I think a plot of the points of interest, but the function is defined for all $x > 0$ and so ...
9k views

### How to determine the center and radius of a circle given three points in 3D?

I was wondering if anyone could give me a hand with this problem I have. I have six points on a plane, and I am trying to determine if they form a circle or not. I know that any three points in 2D ...