5
votes
2answers
7k views

Plotting complex numbers [duplicate]

Possible Duplicate: Plotting an Argand Diagram How do I plot complex numbers in Mathematica? The following is a part of my data, the eigen values of a 50 by 50 asymmetric matrix: ...
3
votes
0answers
155 views

Cyclic Noncommutative Multiplication

I work with traces of long matrix products and I want mathematica to employ the cyclicity when simplifying. I use this redefinition of the non-commutative multiplication: ...
5
votes
0answers
153 views

some Graphics output do not fully render on the screen until an extra click is made into the notebook

Sometimes when using a command such as Grid and looking at the output, some of the actual lines (frame, gridlines) that make up the display will be missing on the ...
0
votes
0answers
67 views

How can I save as PDF without file size getting too large? [duplicate]

Possible Duplicate: Graphics exported from Mathematica 9 are very large because even standard fonts are embedded I have a text only notebook that I saved as PDF. The file size is 2.8 mb. ...
1
vote
1answer
130 views

“Thickness” doesn't work in Parametric3D

I have Mathematica 8 and for some reason, the parameter "thickness" doesn't work in Parametric3D, it works in 2D very fine ParametricPlot3D[{{t, 0, -t}, {0, t, 2 t}}, {t, 0, 100}, PlotStyle -> ...
2
votes
0answers
402 views

Numerically/Analytically Solving a System of Equations

I have $6$ functions $f_i(x,y,z)$, $(i = 1, \ldots, 6)$ in three variables $x,y,z$, and I would like to find a simultaneous instance of these variables, say $(x_0, y_0, z_0)$, such that $f_i(x_0, y_0, ...
1
vote
3answers
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$? ...
5
votes
1answer
371 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 ...
2
votes
2answers
397 views

Revolution plot with 2 variable

I'm having trouble with RevolutionPlot3D with two variables. I have this parabola ...
2
votes
1answer
117 views

hyperlink in label

In a FrameLabel for Manipulate, I would like part of the string to be a hyperlink. Is this possible? I have tried various things ...
1
vote
1answer
739 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 ...
0
votes
1answer
132 views

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

I need some helps on NDSolve. Here are my equations: ...
2
votes
2answers
331 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 ...
12
votes
6answers
10k 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 ...
3
votes
1answer
93 views

keeping parentheses size the same in Input cells when using 2D math

I like to group the 2 parts of the If statement and others like it by using () to help me be able to still understand what my ...
3
votes
1answer
351 views

Find asymptotics of a function

Can Mathematica find the asymptotics of a function in the following sense? I have Log[1/n^2]/Log[4^(-Sqrt[Log[n]]) + (2^(-Sqrt[Log[n]]) - 1)^2] and I would like ...
4
votes
1answer
267 views

“Show” with Manipulate runs fine normally, but gives errors as a CDF

I've simplified my code to what can reproduce my error. Basically, I have two lines: ...
4
votes
1answer
80 views

Skip the revert dialog

When saving a file and making changes to it one can revert using File->Revert in the menu or by entering ...
0
votes
2answers
389 views

Matrix Plot – Little Exercise

Hi there, mathematicians. I'm not very good at coding plots in Mathematica, so I was hoping that one of you could help me solve a problem I'm having. I have the following matrix plot: ...
21
votes
2answers
681 views

Movable text on a curve

Having an arbitrary curve defined as InterpolatingFunction, what is the best way to place a text on this curve? The text generally has two rows, for example: ...
0
votes
1answer
667 views

How to show legend in a combined plot of many lists,

I am having trouble with adding a legend to a plot. The example I discuss here is simpler than my real problem, but describes it well. I have a vector, called X with dimensions (100 x 6). I use the ...
6
votes
2answers
589 views

Nested Map and Apply

There are some other questions on this topic but I could not get an answer from reading them. What I want to do is use Apply on some of the arguments of a function, ...
6
votes
2answers
650 views

Where does Mathematica install command line tools on OS X Lion?

I've read the documentation and tutorials on using Mathematica and the kernel from the command line, and all of these materials suggest that I ought to be able to simply type either ...
9
votes
2answers
855 views

How to transform a 3D image by an affine transformation matrix

I have a question concerning Image Processing: I have a stack of images, which I can compose to a 3D image using Image3D. Additionally I have a 4x4 affine transformation matrix. I would like to ...
0
votes
2answers
416 views

Creating histogram?

How can i create histogram of these variables that would show the depth of sensors when temperature is 0 Degree Celsius. Time function is 0 min, 50 min, 100 min, 150 min, 200 min, and 250 min and ...
14
votes
1answer
233 views

Is there an issue tracker for already reported Mathematica bugs?

Since I'm working at least 50% on Linux which is probably the operating system which gets not so much attention from Wolfram, I find new bugs regularly. What bothers me the most is, that tracking a ...
5
votes
3answers
3k views

Mathematica not simplifying square root expressions even with assumptions

I have the following expression: expr=(Sqrt[2]r Sqrt[(4+r^2) (2+r (r+Sqrt[4+r^2]))])/(4+r (r+Sqrt[4+r^2])) Then ...
4
votes
2answers
172 views

How to execute a function each time the slider is dragged?

I've created a function f and a slider: Slider[Dynamic[y],{1,4}] How to execute/call f ...
8
votes
3answers
365 views

Quirk in VertexColors interpolation when displaying Polygon

When using VertexColors the docs state: The interior of the polygon is colored by interpolating between the colors specified by VertexColors. It however ...
1
vote
0answers
302 views

Problems with log-log histograms

I'm using a custom function to create Log-Log Histograms of my data. It uses the CustomTicks` package (in LevelScheme, http://scidraw.nd.edu/levelscheme/) to display Log Ticks. ...
18
votes
1answer
721 views

How can I set a keyboard shortcut to run a command?

I want to use this to add a keyboard shortcut to an undo function I wrote. The basic problem is the following: I have a command, let's say x=1, and I want to run ...
7
votes
5answers
650 views

remove -1 values from a list

I would like to turn a list which looks like this one: {{-1, -1, -1}, {-1, 2, 3}, {-1, -1, 2}, {2, 3, 4}} into one which looks like that one: ...
3
votes
1answer
452 views

How to do the polynomial stuff over finite fields extensions fast?

This question is raised from the problem of package FiniteFields being very slow (please, see the corresponding question): I have had an evidence that Mathematica ...
8
votes
3answers
261 views

Is there a way to continuously update only *some* variables in Manipulate?

I have a Manipulate control, the main element of which is a single slider. Moving the one slider triggers calls to two functions - one which is evaluated very quickly, the other more slowly. I'd like ...
10
votes
3answers
405 views

Inconsistent display of TraditionalForm in version 9

After installing version 9, the default style sheet uses Arial font in text and formula cells. So far, so bad. At least one would hope this is done consistently. But now I see this: You can see ...
8
votes
2answers
3k views

How do you force a decimal output? [duplicate]

I have some very small values such as 2.601519253*10^-8. I'd like to output these values to CSV for another program to work with. I've tried N[value, 50], but Mathematica still insists on producing ...
1
vote
3answers
657 views

How do I evaluate several n-th derivatives of a function at one point?

I have a question where I have to compute a Table containing $f^{(n)}(0)$ for n = 1, ..., 5, where $f^{(n)}$ denotes the $n$th ...
3
votes
4answers
651 views

How can I get rid of extra commas in Export/Import?

Consider the following example of trying to export the following table: Export["test.dat", {{{1, 1}, {2, 2}}, {{3, 3}, {4, 4}}}, "Table"]; Now I import to see ...
5
votes
1answer
292 views

NDSolve and WhenEvent Causing Excess Work

When I use the following system model = {x'[t] == x[t] (1 - x[t]) - x[t] y[t], y'[t] == x[t] y[t] - y[t], x[0] == 0.5, y[0] == 0.5} with the ...
2
votes
2answers
130 views

Total elements of a list that have a common first element [duplicate]

Possible Duplicate: List-operations only when restrictions are fulfilled (Part 1) I have a set of data like: ...
13
votes
5answers
6k views

Standard deck of 52 playing cards in curated data?

I am not sure how to find out what all is included as curated data. For example, are the individual images of each of the 52 cards in a standard deck of playing cards included? If not, is there a way ...
2
votes
2answers
614 views

Controlling the speed of Manipulate animations exported to SWF

I would like to export in .swf a "Manipulation" output. I am using ...
6
votes
2answers
268 views

Force integration to be linear over sum?

Is there an obvious way to force Mathematica to separately integrate the terms in a sum? According to the docs, When part of a sum cannot be integrated explicitly, the whole sum will stay ...
0
votes
2answers
264 views

Fourier-Motzkin Elimination

Is there any method available in mathematica to eliminate variable from set of inequalities? I tried Eliminate function available, but I guess it works on equalities only.
2
votes
4answers
474 views

Highlight integer points in RegionPlot

Is there any way to mark integer points after plotting region in Mathematica? For example, if I: ...
2
votes
1answer
165 views

How to control dependent PopupMenus?

I created three interdependent PopupMenus with names demographic, region and ...
2
votes
3answers
237 views

how to extract some terms out from an expression

I have an expression as below: $-\frac{1}{2} A[a,v] A[b,h] A[c,v] A[d,h] \text{Cos}[\theta ]^2+\frac{1}{2} A[a,h] A[b,v] A[c,v] A[d,h] \text{Cos}[\theta ]^2+\frac{1}{2} A[a,v] A[b,h] A[c,h] A[d,v] ...
8
votes
1answer
1k views

FeynRules vs FeynCalc (or anything else?)

I was looking for a Mathematica package that can take Lagrangians and calculate Feynman diagrams for any given n-point function. (..like if a software can draw and calculate arbitrary loop corrections ...
5
votes
4answers
824 views

Change Style of Points

I was wondering if it's possible to change the style of aPoint with another symbol e.g.: cross, x etc... It may sound weird-it is a Point after all, but I would ...
1
vote
1answer
86 views

How to get a solution involving logs in the right form?

How do I get Solve[(1/9)^(r/2) == 1/n , r] to give me Log[n]/Log[3] and not ...

15 30 50 per page