# All Questions

46 views

### Scaling ParametricPlot

How can I scale the plot obtained by ParametricPlot nicely in the following case? ...
52 views

### Why are the edge items in Grid truncated?

The first and last rows and columns of my Grids always seem to be smaller than all the other rows in my Grid, as of they had ...
76 views

### Generating increasingly longer lists from a single list

I start with an array such as {{1,1},{0,1},{-1,1}}. (1) I want to create an array from this which replaces each array inside the array with 3 new arrays, one ...
65 views

### Ways to overcome failure of TextRecognize on relatively simple price tag?

I would like to perform OCR on this sample image. TextRecognize[Import["RedBox.jpg"], Language -> "German"] returns ...
24 views

### Calculate number of probabilities [migrated]

I want to calculate a number of probabilities of a+b+c=1 For a vary from 0 to 1 with an incrementing of 0.1 For ...
32 views

### Combining two SmoothHistogram plots without normalization of each

I'm trying to plot a density of states out of a list of energy values, and on it I want to include another over-layed plot with it that shows some fraction of that density of states at different ...
29 views

### Getting rid of white trim around a plot from ListDensityPlot [closed]

Ok, so a continuation of removing the black lines. I am close to what I want. Now however there is a white trim around the edge of the entire image. Aside from Screenshot clipping this image, is there ...
41 views

### Turning off black lines appearing in plots from the ContourPlot function [closed]

ContourPlot[Sin[6.5 x], {x, 0, 2 Pi}, {y, -1, 1}] The image turned out crappy, but basically, I do not want all the vertical black lines. I assume this is ...
69 views

### Transform a rule to a list of rules

How can this rule a -> {1, 2, 3} be transformed into this {a -> 1, a -> 2, a -> 3} by way of a function? ...
35 views

### Scalar multiplication [closed]

I define v = {a, b} I now want to scalar multiply the vector v by a scalar k. So I write kv The output I obtain is again ...
196 views

### How do I find the position of the maximum value in each column of a table?

Given a table of values, I know how to find find maximum values, but how do I find the position of the maximum value in each column. For example, given ...
107 views

### Plot a space curve and its curvature

The vector is < te^t, e^-t, Sqrt [2]t >, where -5 <= t <= 5 I have to plot the space curve and its curvature ...
47 views

### Missing solutions for complex equation system

I am currently working on a game-theoretic paper and trying to match two complex best response functions. The equation system includes two decision variables x and ...
57 views

### Unmapped white region in ContourPlot, PlotRange -> All does not fix the issue

When I try to create a ContourPlot of the magnitude of the following vector I get a white area that should be filled with values. Running the following code: ...
141 views

### CSV vs XLS for import

I need to import data from various database sources. At the moment I plan on importing files via a CSV file or XLS. All the data if in XLS would be on one sheet (notebook). Are there any advantages ...
36 views

### Will the least squares function give me the equation for a 3D plane, why does it need model-fit? [closed]

I have been using best fit however it is apparently not quite the least squares method, that and I also have to attach a variable to a slider for the error ratios. Unfortunately I do not understand ...
69 views

### Interpolation function error: Interpolation::femimq and Interpolation::fememtlq

In Mathematica 10 the following command ...
83 views

### Labelling a subset of contours using ListContourPlot

I have a data set with entries of the form [nx,ny,E] and have made a contour plot of this data. I would like to add labels to only a subset of these contours, for instance every other contour. How ...
47 views

### LinearSolve in Mathematica, used to find square matrix

Another issue I have with Mathematica today is that I want to solve the following matrix equation: X.b=c where b and c are two vectors, and X is a square ...
59 views

### Extracting the body of a function

I have a very simple issue with Mathematica, but I can't seem to find an answer for it. I solved an equation with DSolve, and I got a result as an array of the following type: ...
60 views

### Find intersections of great circles [duplicate]

I would like to plot out the intersections of great circles as dots. Here is the code to display the sphere with great circles (Original post http://mathematica.stackexchange.com/a/19350/193) ...
250 views

### How to extract a list of available Method-s

The option Methodapplies for several functions, such as NDSolve, FindRoot, ...
38 views

### How to indroduce a value for the functions inside a matrix? [closed]

I would like to assign certain values to the X and Y variables which are inside the functions in the matrix. Thus, I would like to get a matrix with values based on the transformation in Psi matrix. ...
32 views

### Frame labels for Overlay of two plots to look like plot with two y-axes

I have a two time differential equations system: A[t] and B[t]. (I am omitting their specific form.) I would like to display the ...
79 views

### Fitting data to a circle with FindFit

I'm currently trying to use the Mathematica's FindFit command to fit a curve of some data to the bottom half of a circle. The data is of the form ...
78 views

### ListPlot with background image?

I need repetitive plots like this below. I invented that I refuse to use pen and I will plot the points in Mathematica, then change opacity, then change contrast and voula get the points to the graph ...
222 views

### Calculating integral by Romberg Algorithm

In my "Numeric Anasyis" course, I learned the Romberg Alogrithm to calculate the numerical integral. The Romberg Alogrithm as shown below:  ...
404 views

### How to programmatically extract mathematical formulas from Word with Mathematica 9?

I have a bunch of(1000+) Microsoft Word document in .Docx format. How can I programmatically extract the mathematical formulas from MS Word using Mathematica 9? This is what example looks like (or ...
107 views

### Show how Eliminate arrives at reduction

Does anyone know how to get Mathematica to show how it arrives at the following result? ...
42 views

### How to show right count of decimal number in mathematica 10

I have some random number x. It can be 222.1245646 or 3.141562652. How should I show this number to 5 decimal numbers ? I cant use this: N[x, 5] because it shows 5 ...
31 views

### Mathematical Induction [closed]

Prove that for every integer n>=1, we have The summation of (i^3)=((n(n+1))/2)^2 I know how to prove an induction proof, but I just can't get the algebra down on this problem. Can anyone help?
17 views

### Use intercepts to plot a plane [duplicate]

The plane is 6x -3y + 4z = 6 and I found the intercepts are: x = 1, y = -2, z = 3/2 I have to use Plot3D to plot the plane formed by these three points. How can I do that?
180 views

### Simple while loop alternative in Mathematica

I have noticed that there are a few examples that go into some detail regarding While loop alternatives. (See here for example: Alternatives to While Loops?) However, I wanted to provide a simpler ...
49 views

### Can I use 'ItemStyle' in 'Grid' to specify the style of individual items? [closed]

I'm confused by the documentation for ItemStyle. I can't figure out how to specify styles for individual items in a Grid. ...
32 views

I'm trying to load a Jar file in a Workbench project using (after importing "JLink`" in the package declaration): ReinstallJava[ClassPath->"pathToMyJar"]]; In ...
153 views

### Is Mathematica 10 compatible with Mac OS X 10.10 Yosemite

When I try to launch Mathematica 10 on my iMac with OS X 10.10, I get the message: To open 'Mathematica' you need to install the legacy Java SE runtime. However, a Mac version is not available ...
140 views

### Complicated list slicing

Say I have a list with the structure list = {{1, {x1, y1, z1}}, {2, {x2, y2, z2}}, {3, {x3, y3, z3}}, ...} I would like to slice it such that I end up with ...
26 views

### ParagraphSpacing inside Style'd Text

From ParagraphSpacing's documentation: ParagraphSpacing is an option for Cell, StyleBox, and Style that specifies how ...
33 views

### Why DynamicModule does not plot the intersection region and does others?

I am trying to run this code: ...
67 views

### Forcing Ticks on Lower Left Corner of Plot

I have a graph that looks like this: I need to have it labeled so that 14 appears in the lower left (I know it's obvious but that's what the publication I'm working with wants). That makes the ...
166 views

### Log of a Matrix

I have used the command MatrixLog[m] But it gives natural log of the matrix. How can I find the Log (to the base 2) of a matrix?
218 views

### Should we invest in Apple?

Ticker[comp_String] := Interpreter["Company"][comp] /. Entity[_, x_] :> x ticks = Ticker /@ {"Apple", "Google"} {"NASDAQ:AAPL", "NASDAQ:GOOGL"} ...
22 views

### how to determine how much time it will take to run a cell exression?

I am trying to find integration of a large matrix. It is taking too much time to do it. because of matrix elements contains trigonomteric expression. 4 days gone, it is still running. I want to know ...
45 views

### Do, Write Through

Using: Do[Write[OUTFILE, #] & @@ Through[{(#) &, Sin[#] &, Cos[#] &}[n]], {n, {1, 2, 3, 4}}] results with file content: ...
2k views

### A one line proof that one is zero using Mathematica 10

a = (Sqrt[2] + 1) (Sqrt[2] - 1) - 1; {a/a, Simplify[a]/a, b/b == Simplify[b]/b} {1, 0, True} This one line "proof" that ...
52 views

### How do I extract the value of a 'Style'?

I have a Style displaying an underlying Real value. For example I might have ...
36 views

### Is it possible to have a function with non-global parameters? [duplicate]

If I have functions in two packages that have parameters such as length_, width_ and height_; is there any way to have both packages loaded without generating messages such as "Symbol length appears ...
38 views

### How to force 0^0 be 1 in Mathematica? [duplicate]

It is suitable in many series and polynomials to treat 0^0 as 1. Unfortunately, Mathematica think it is Indeterminate. How to ...