All Questions

0
votes
0answers
46 views

Scaling ParametricPlot

How can I scale the plot obtained by ParametricPlot nicely in the following case? ...
3
votes
1answer
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 ...
3
votes
3answers
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 ...
5
votes
0answers
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 ...
0
votes
0answers
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 ...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
0
votes
1answer
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 ...
1
vote
1answer
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? ...
0
votes
0answers
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 ...
2
votes
4answers
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 ...
3
votes
2answers
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 ...
1
vote
1answer
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 ...
1
vote
1answer
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: ...
3
votes
1answer
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 ...
0
votes
0answers
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 ...
3
votes
2answers
69 views

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

In Mathematica 10 the following command ...
5
votes
2answers
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 ...
0
votes
1answer
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 ...
2
votes
4answers
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: ...
-1
votes
0answers
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) ...
19
votes
1answer
250 views

How to extract a list of available Method-s

The option Methodapplies for several functions, such as NDSolve, FindRoot, ...
1
vote
1answer
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. ...
1
vote
1answer
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 ...
0
votes
1answer
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 ...
2
votes
1answer
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 ...
6
votes
3answers
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: $$ ...
15
votes
1answer
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 ...
2
votes
1answer
107 views

Show how Eliminate arrives at reduction

Does anyone know how to get Mathematica to show how it arrives at the following result? ...
0
votes
1answer
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 ...
-1
votes
0answers
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?
0
votes
0answers
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?
5
votes
1answer
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 ...
2
votes
2answers
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. ...
1
vote
1answer
32 views

Problem with loading a Jar file in Workbench

I'm trying to load a Jar file in a Workbench project using (after importing "JLink`" in the package declaration): ReinstallJava[ClassPath->"pathToMyJar"]]; In ...
0
votes
1answer
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 ...
8
votes
3answers
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 ...
0
votes
0answers
26 views

ParagraphSpacing inside Style'd Text

From ParagraphSpacing's documentation: ParagraphSpacing is an option for Cell, StyleBox, and Style that specifies how ...
1
vote
1answer
33 views
1
vote
2answers
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 ...
2
votes
1answer
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?
3
votes
2answers
218 views

Should we invest in Apple?

Ticker[comp_String] := Interpreter["Company"][comp] /. Entity[_, x_] :> x ticks = Ticker /@ {"Apple", "Google"} {"NASDAQ:AAPL", "NASDAQ:GOOGL"} ...
0
votes
0answers
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 ...
0
votes
1answer
45 views

Do, Write Through

Using: Do[Write[OUTFILE, #] & @@ Through[{(#) &, Sin[#] &, Cos[#] &}[n]], {n, {1, 2, 3, 4}}] results with file content: ...
11
votes
1answer
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 ...
2
votes
2answers
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 ...
0
votes
0answers
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 ...
-1
votes
0answers
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 ...
1
vote
1answer
43 views

Converting a testing notebook to a notebook

I build a testing notebook and it got too slow and unreliable with many test cases. I want to have a new (classical) notebook with all the the inputs I have in the testing one. Is there an automatic ...
1
vote
2answers
64 views

ListPlot3D with small (but acceptable) precision

Consider the following minimal example: ...

15 30 50 per page